mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 12:47:39 +01:00
Make matrix-mautrix-signal-daemon.service depend on docker.service
This commit is contained in:
parent
da2a6682b3
commit
274f23f668
@ -34,6 +34,12 @@ matrix_mautrix_signal_systemd_required_services_list:
|
|||||||
# List of systemd services that matrix-mautrix-signal.service wants
|
# List of systemd services that matrix-mautrix-signal.service wants
|
||||||
matrix_mautrix_signal_systemd_wanted_services_list: []
|
matrix_mautrix_signal_systemd_wanted_services_list: []
|
||||||
|
|
||||||
|
# List of systemd services that matrix-mautrix-signal-daemon.service depends on.
|
||||||
|
matrix_mautrix_signal_daemon_systemd_required_services_list: ['docker.service']
|
||||||
|
|
||||||
|
# List of systemd services that matrix-mautrix-signal-daemon.service wants
|
||||||
|
matrix_mautrix_signal_daemon_systemd_wanted_services_list: []
|
||||||
|
|
||||||
matrix_mautrix_signal_appservice_token: ''
|
matrix_mautrix_signal_appservice_token: ''
|
||||||
matrix_mautrix_signal_homeserver_token: ''
|
matrix_mautrix_signal_homeserver_token: ''
|
||||||
|
|
||||||
|
@ -2,6 +2,15 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Matrix Mautrix Signal daemon
|
Description=Matrix Mautrix Signal daemon
|
||||||
|
|
||||||
|
{% for service in matrix_mautrix_signal_daemon_systemd_required_services_list %}
|
||||||
|
Requires={{ service }}
|
||||||
|
After={{ service }}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for service in matrix_mautrix_signal_daemon_systemd_wanted_services_list %}
|
||||||
|
Wants={{ service }}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user