Skip to content
  • Jean-Paul Saman's avatar
    Starting vls server with name "vlsd" will start process in Daemon mode. If... · 8dba6f7f
    Jean-Paul Saman authored
    Starting vls server with name "vlsd" will start process in Daemon mode. If running as daemon configure vls (in vls.cfg)  to use system logging, because all terminal stdin, stdout and stderr are sent into oblivian (see code in C_Daemon::DaemonCloseTerminal()). Thus the process is detached from the launching terminal and becomes a child from the init process.
    
    Please test Win32 port with this patch to make sure I did not break anything!!
    
    Note:
    - dvbinput, dvdreader, filereader  and ps2ts uses printf() a lot, these should use the vls builtin log functionality instead. Currently when running in daemon mode all output goes to /dev/null, thus not showing up in system log at all!.
    - In general use buitin logging instead of printf() from now on.
    
    8dba6f7f