17 lines
478 B
Desktop File
17 lines
478 B
Desktop File
[Unit]
|
|
Description=Synapse Matrix homeserver
|
|
After=network-online.target postgresql.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=main
|
|
User=synapse
|
|
Group=synapse
|
|
WorkingDirectory=/var/lib/synapse
|
|
ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
# EnvironmentFile=-/etc/sysconfig/synapse # Can be used to e.g. set SYNAPSE_CACHE_FACTOR
|
|
SyslogIdentifier=synapse
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|