Add 'deluged' script to start the deluge daemon.
This commit is contained in:
parent
66192d0f8d
commit
ec5c970499
|
@ -80,3 +80,11 @@ def main():
|
|||
if options.ui:
|
||||
log.info("Starting ui..")
|
||||
UI()
|
||||
|
||||
def start_daemon():
|
||||
"""Entry point for daemon script"""
|
||||
log.info("Deluge daemon %s", deluge.common.get_version())
|
||||
log.info("Starting daemon..")
|
||||
pid = os.fork()
|
||||
if not pid:
|
||||
Daemon()
|
||||
|
|
Loading…
Reference in New Issue