Try and stop running daemon first
This commit is contained in:
@@ -85,6 +85,7 @@ class Loader(object):
|
||||
# remove old pidfile first
|
||||
try:
|
||||
if self.runAsDaemon():
|
||||
self.daemon.stop()
|
||||
self.daemon.delpid()
|
||||
except:
|
||||
self.log.critical(traceback.format_exc())
|
||||
|
||||
Reference in New Issue
Block a user