mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 08:59:25 -05:00
Fix restart
This commit is contained in:
parent
76328b85f6
commit
f87a11e0fd
@ -73,8 +73,8 @@ def main():
|
|||||||
elif action == "stop":
|
elif action == "stop":
|
||||||
stop(pidfile)
|
stop(pidfile)
|
||||||
elif action == "restart":
|
elif action == "restart":
|
||||||
stop()
|
stop(pidfile)
|
||||||
start()
|
start(configfile)
|
||||||
else:
|
else:
|
||||||
sys.stderr.write("Usage: %s [start|stop|restart] [configfile]\n" % (sys.argv[0],))
|
sys.stderr.write("Usage: %s [start|stop|restart] [configfile]\n" % (sys.argv[0],))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user