mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-02 06:36:15 +00:00
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…
x
Reference in New Issue
Block a user