1
0

matrix-synapse.service 669 B

123456789101112131415161718
  1. [Unit]
  2. Description=Synapse Matrix Homeserver
  3. [Service]
  4. Type=notify
  5. NotifyAccess=main
  6. User=matrix-synapse
  7. WorkingDirectory=/var/lib/matrix-synapse
  8. EnvironmentFile=/etc/default/matrix-synapse
  9. ExecStartPre=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ --generate-keys
  10. ExecStart=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/
  11. ExecReload=/bin/kill -HUP $MAINPID
  12. Restart=always
  13. RestartSec=3
  14. SyslogIdentifier=matrix-synapse
  15. [Install]
  16. WantedBy=matrix.target