mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-16 05:03:10 +01:00
17 lines
370 B
Plaintext
17 lines
370 B
Plaintext
|
[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
|