Created
June 14, 2019 13:00
-
-
Save akhiljalagam/b2fa259d0e4325148d2e37b55e895524 to your computer and use it in GitHub Desktop.
systemd service unit for matrix synapse server 1.0.0 stable release. Tweak with your own config.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Synapse Matrix homeserver | |
After=postgresql-9.6.service | |
[Service] | |
Type=simple | |
WorkingDirectory=/root/synapse/env | |
ExecStart=/root/synapse/env/bin/python -m synapse.app.homeserver --config-path=/root/synapse/env/bin/homeserver.yaml | |
ExecStop=/root/synapse/env/bin/synctl stop /root/synapse/env/bin/homeserver.yaml | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment