1
0

matrix-synapse.service 588 B

123456789101112131415
  1. [Unit]
  2. Description=Synapse Matrix homeserver
  3. [Service]
  4. Type=simple
  5. User=matrix-synapse
  6. WorkingDirectory=/var/lib/matrix-synapse
  7. EnvironmentFile=/etc/default/matrix-synapse
  8. 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
  9. 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/
  10. Restart=always
  11. RestartSec=3
  12. [Install]
  13. WantedBy=multi-user.target