Stop before starting when restarting

This commit is contained in:
Mark Haines 2014-11-17 19:16:15 +00:00
parent b57e9f58fd
commit 26fc878944
1 changed files with 1 additions and 1 deletions

View File

@ -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)