21 lines
366 B
Desktop File
21 lines
366 B
Desktop File
# {{ ansible_managed }}
|
|
|
|
[Unit]
|
|
Description={{ matrix_extra }}
|
|
After=matrix-synapse.service
|
|
PartOf=matrix.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ matrix_extra }}
|
|
WorkingDirectory={{ matrix_extra_workdir }}
|
|
{% if matrix_extra_wait_before_start %}
|
|
ExecStartPre=/bin/sleep 30
|
|
{% endif %}
|
|
ExecStart={{ exec }}
|
|
Restart=always
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=matrix.target
|