copr-matrix-synapse/synapse.service
Jeremy Cline 2352997660
Synapse v0.34.0
Switch to Python 3 since 0.34 supports it
2018-12-28 15:43:36 -05:00

14 lines
412 B
Desktop File

[Unit]
Description=Synapse Matrix homeserver
[Service]
Type=simple
User=synapse
Group=synapse
WorkingDirectory=/var/lib/synapse
ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
ExecStop=/usr/bin/synctl stop /etc/synapse/homeserver.yaml
# EnvironmentFile=-/etc/sysconfig/synapse # Can be used to e.g. set SYNAPSE_CACHE_FACTOR
[Install]
WantedBy=multi-user.target