mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-11-11 22:06:33 -05:00
Stop before starting when restarting
This commit is contained in:
parent
b57e9f58fd
commit
26fc878944
1 changed files with 1 additions and 1 deletions
|
|
@ -56,8 +56,8 @@ def main():
|
||||||
elif action == "stop":
|
elif action == "stop":
|
||||||
stop()
|
stop()
|
||||||
elif action == "restart":
|
elif action == "restart":
|
||||||
start()
|
|
||||||
stop()
|
stop()
|
||||||
|
start()
|
||||||
else:
|
else:
|
||||||
sys.stderr.write("Usage: %s [start|stop|restart]\n" % (sys.argv[0],))
|
sys.stderr.write("Usage: %s [start|stop|restart]\n" % (sys.argv[0],))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue