summaryrefslogtreecommitdiff
path: root/packages/net/synapse/files/systemd/synapse.service
blob: 8f575ab8803f58714e7c2e0212301b0743e1e8cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Synapse Matrix homeserver

[Service]
Type=simple
Restart=on-abort

User=synapse
Group=synapse

WorkingDirectory=/var/lib/synapse
ExecStart=/usr/bin/python2.7 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
ExecStop=/usr/bin/synctl stop /etc/synapse/homeserver.yaml

[Install]
WantedBy=multi-user.target