Add some more information to the error message when trying to run
multiple daemons
This commit is contained in:
parent
5f8a1ed971
commit
2741623e91
|
@ -194,6 +194,8 @@ def start_daemon():
|
||||||
Daemon(options, args)
|
Daemon(options, args)
|
||||||
except deluge.error.DaemonRunningError, e:
|
except deluge.error.DaemonRunningError, e:
|
||||||
log.error(e)
|
log.error(e)
|
||||||
|
log.error("You cannot run multiple daemons with the same config directory set.")
|
||||||
|
log.error("If you believe this is an error, you can force a start by deleting %s.", deluge.configmanager.get_config_dir("deluged.pid"))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
|
|
Loading…
Reference in New Issue