mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-15 20:53:12 +01:00
17 lines
370 B
Django/Jinja
17 lines
370 B
Django/Jinja
[Unit]
|
|
Description=Matrix Element Call Service
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/docker start -a matrix-element-call
|
|
ExecStop=/usr/bin/docker stop matrix-element-call
|
|
Restart=always
|
|
User={{ matrix_user_username }}
|
|
Group={{ matrix_user_groupname }}
|
|
TimeoutStartSec=0
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |