mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-27 11:57:05 -05:00
Stop before starting when restarting
This commit is contained in:
parent
b57e9f58fd
commit
26fc878944
@ -56,8 +56,8 @@ def main():
|
||||
elif action == "stop":
|
||||
stop()
|
||||
elif action == "restart":
|
||||
start()
|
||||
stop()
|
||||
start()
|
||||
else:
|
||||
sys.stderr.write("Usage: %s [start|stop|restart]\n" % (sys.argv[0],))
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user