Skip to content
Snippets Groups Projects
Commit 26fc8789 authored by Mark Haines's avatar Mark Haines
Browse files

Stop before starting when restarting

parent b57e9f58
No related branches found
No related tags found
No related merge requests found
...@@ -56,8 +56,8 @@ def main(): ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment