Merge pull request #2464 from rnbdsh/patch-4

Remove non-existing files, add stop, use synctl
This commit is contained in:
Richard van der Hoff 2017-09-25 09:33:22 +01:00 committed by GitHub
commit b4fd710e1a

View File

@ -9,9 +9,10 @@ Description=Synapse Matrix homeserver
Type=simple Type=simple
User=synapse User=synapse
Group=synapse Group=synapse
EnvironmentFile=-/etc/sysconfig/synapse
WorkingDirectory=/var/lib/synapse WorkingDirectory=/var/lib/synapse
ExecStart=/usr/bin/python2.7 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml --log-config=/etc/synapse/log_config.yaml 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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target