mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-01 08:29:41 +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')
|
eprint('You must specify a configuration file')
|
||||||
sys.exit(1)
|
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
|
# Create Send Socket
|
||||||
|
@ -13,12 +13,6 @@
|
|||||||
[Station1]
|
[Station1]
|
||||||
|
|
||||||
|
|
||||||
; Daemonize
|
|
||||||
;
|
|
||||||
; Run pypad_tunein as a daemon 'Yes' or 'No'.
|
|
||||||
Daemonize=Yes
|
|
||||||
|
|
||||||
|
|
||||||
; StationID
|
; StationID
|
||||||
;
|
;
|
||||||
; The Station ID of the TuneIn station to which to send updates.
|
; The Station ID of the TuneIn station to which to send updates.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user