0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-18 07:52:56 +01:00

Fix restart

This commit is contained in:
Daniel Wagner-Hall 2015-09-24 21:59:38 +00:00
parent 76328b85f6
commit f87a11e0fd

View file

@ -73,8 +73,8 @@ def main():
elif action == "stop":
stop(pidfile)
elif action == "restart":
stop()
start()
stop(pidfile)
start(configfile)
else:
sys.stderr.write("Usage: %s [start|stop|restart] [configfile]\n" % (sys.argv[0],))
sys.exit(1)