diff options
author | rnbdsh <vogl91@gmail.com> | 2017-09-24 04:55:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-24 04:55:19 +0200 |
commit | b68b0ede7a79c4fe012b239201f71a32d1eb7fd2 (patch) | |
tree | ade56a14d8d84c517a517b9418c653a2d665bcd1 /contrib/systemd/synapse.service | |
parent | Remove non-existing files, add stop, use synctl (diff) | |
download | synapse-b68b0ede7a79c4fe012b239201f71a32d1eb7fd2.tar.xz |
Start traditionally, stop synctl
Starting with synctl lead to "no config file found" Stopping also leads to some (code=exited, status=1/FAILURE), but at least now we can stop the service.
Diffstat (limited to 'contrib/systemd/synapse.service')
-rw-r--r-- | contrib/systemd/synapse.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/systemd/synapse.service b/contrib/systemd/synapse.service index b71be582c6..3f037055b9 100644 --- a/contrib/systemd/synapse.service +++ b/contrib/systemd/synapse.service @@ -10,8 +10,9 @@ Type=simple User=synapse Group=synapse WorkingDirectory=/var/lib/synapse -ExecStart=/usr/bin/synctl start /etc/synapse/homeserver.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] WantedBy=multi-user.target + |