Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
370 B

  1. [Unit]
  2. Description=Matrix Element Call Service
  3. After=docker.service
  4. Requires=docker.service
  5. [Service]
  6. Type=simple
  7. ExecStart=/usr/bin/docker start -a matrix-element-call
  8. ExecStop=/usr/bin/docker stop matrix-element-call
  9. Restart=always
  10. User={{ matrix_user_username }}
  11. Group={{ matrix_user_groupname }}
  12. TimeoutStartSec=0
  13. RestartSec=10
  14. [Install]
  15. WantedBy=multi-user.target