Add nextcloud_systemd_wanted_services_list
This commit is contained in:
parent
8cb3e23498
commit
3393b651ea
2 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,11 @@ nextcloud_systemd_required_services_list_default: ['docker.service']
|
|||
nextcloud_systemd_required_services_list_auto: []
|
||||
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_config_path: "{{ nextcloud_base_path }}/config"
|
||||
nextcloud_data_path: "{{ nextcloud_base_path }}/data"
|
||||
|
|
|
@ -4,6 +4,9 @@ Description=Nextcloud Server ({{ nextcloud_identifier }}-server)
|
|||
Requires={{ service }}
|
||||
After={{ service }}
|
||||
{% endfor %}
|
||||
{% for service in nextcloud_systemd_wanted_services_list %}
|
||||
Wants={{ service }}
|
||||
{% endfor %}
|
||||
DefaultDependencies=no
|
||||
|
||||
[Service]
|
||||
|
|
Loading…
Reference in a new issue