1
0
Fork 0

Add nextcloud_systemd_wanted_services_list

This commit is contained in:
Slavi Pantaleev 2024-01-06 12:06:16 +02:00
parent 8cb3e23498
commit 3393b651ea
2 changed files with 8 additions and 0 deletions

View file

@ -21,6 +21,11 @@ nextcloud_systemd_required_services_list_default: ['docker.service']
nextcloud_systemd_required_services_list_auto: [] nextcloud_systemd_required_services_list_auto: []
nextcloud_systemd_required_services_list_custom: [] nextcloud_systemd_required_services_list_custom: []
nextcloud_systemd_wanted_services_list: "{{ nextcloud_systemd_wanted_services_list_default + nextcloud_systemd_wanted_services_list_auto + nextcloud_systemd_wanted_services_list_custom }}"
nextcloud_systemd_wanted_services_list_default: []
nextcloud_systemd_wanted_services_list_auto: []
nextcloud_systemd_wanted_services_list_custom: []
nextcloud_base_path: "{{ nextcloud_base_path }}/nextcloud" nextcloud_base_path: "{{ nextcloud_base_path }}/nextcloud"
nextcloud_config_path: "{{ nextcloud_base_path }}/config" nextcloud_config_path: "{{ nextcloud_base_path }}/config"
nextcloud_data_path: "{{ nextcloud_base_path }}/data" nextcloud_data_path: "{{ nextcloud_base_path }}/data"

View file

@ -4,6 +4,9 @@ Description=Nextcloud Server ({{ nextcloud_identifier }}-server)
Requires={{ service }} Requires={{ service }}
After={{ service }} After={{ service }}
{% endfor %} {% endfor %}
{% for service in nextcloud_systemd_wanted_services_list %}
Wants={{ service }}
{% endfor %}
DefaultDependencies=no DefaultDependencies=no
[Service] [Service]