Make matrix-mautrix-signal-daemon.service depend on docker.service

This commit is contained in:
Slavi Pantaleev 2021-01-03 08:16:49 +02:00
parent da2a6682b3
commit 274f23f668
2 changed files with 15 additions and 0 deletions

View file

@ -34,6 +34,12 @@ matrix_mautrix_signal_systemd_required_services_list:
# List of systemd services that matrix-mautrix-signal.service wants
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_homeserver_token: ''

View file

@ -2,6 +2,15 @@
[Unit]
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]
Type=simple