blob: b5cb28634080155ad4837d5fe957e8e4fbcd8ce5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
[Unit]
Description=Matrix Homeserver
Requires=matrix-keyserver.service matrix-sydent.service
After=postgresql.service
[Service]
#Type=notify
Type=forking
NotifyAccess=main
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abort
User=synapse
Group=matrix
WorkingDirectory=/opt/matrix
ExecStart=/opt/matrix/synapse/synapse-venv/bin/synctl start /etc/matrix-synapse/homeserver.yaml
ExecStop=/opt/matrix/synapse/synapse-venv/bin/synctl stop
SyslogIdentifier=synapse
RuntimeDirectory=matrix
# Environment=SYNAPSE_CACHE_FACTOR=2.0
[Install]
WantedBy=multi-user.target
|