http://git.community.i2p/PurpleI2P/i2pd/src/commit/82af922b406ea4b7220791672cd3686201b0ecb3/DaemonLinux.cpp
" ) ; return false ; } char pid [ 10 ] ; sprintf ( pid , " %d \n " , getpid ( ) ) ; write ( pidFilehandle , pid , strlen ( pid ) ) ; // Signal handler struct sigaction sa ; sa . sa_handler = handle_signal ; sigemptyset ( & sa . sa_mask ) ; sa . sa_flags = SA_RESTART ; sigaction ( SIGHUP , & sa , 0 ) ; sigaction ( SIGABRT , & sa , 0 ) ; sigaction ( SIGTERM , & sa , 0 ) ; sigaction ( SIGINT...