mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-05 06:32:34 +02:00
Remove Daemonize option
This commit is contained in:
parent
4d5081156e
commit
306d5354be
@ -101,25 +101,6 @@ else:
|
||||
eprint('You must specify a configuration file')
|
||||
sys.exit(1)
|
||||
|
||||
#
|
||||
# Daemonize
|
||||
#
|
||||
try:
|
||||
daemon=config.get(section,'Daemonize')
|
||||
except:
|
||||
daemon='0'
|
||||
|
||||
if isTrue(daemon):
|
||||
try:
|
||||
pid=os.fork()
|
||||
except:
|
||||
eprint('Could not fork')
|
||||
sys.exit(1)
|
||||
|
||||
if (pid==0):
|
||||
os.setsid()
|
||||
else:
|
||||
exit(0)
|
||||
|
||||
#
|
||||
# Create Send Socket
|
||||
|
@ -13,12 +13,6 @@
|
||||
[Station1]
|
||||
|
||||
|
||||
; Daemonize
|
||||
;
|
||||
; Run pypad_tunein as a daemon 'Yes' or 'No'.
|
||||
Daemonize=Yes
|
||||
|
||||
|
||||
; StationID
|
||||
;
|
||||
; The Station ID of the TuneIn station to which to send updates.
|
||||
|
Loading…
x
Reference in New Issue
Block a user