Browse Source

Try and stop running daemon first

pull/84/head
Ruud 13 years ago
parent
commit
d0aca61165
  1. 1
      CouchPotato.py

1
CouchPotato.py

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

Loading…
Cancel
Save