121 reputation
3
bio website mbrownnyc.wordpress.com
location NYC
age
visits member for 2 years, 9 months
seen Mar 23 at 21:47

Sep
16
comment Is it good practice to create a background job within an init script if the process can not daemonize itself?
Thanks!!!!!!!11
Jul
31
awarded  Supporter
Jul
12
awarded  Student
Jul
12
comment Is it good practice to create a background job within an init script if the process can not daemonize itself?
Thanks, I will look into that itself. With the above "solution," I relied on the processes own ability to create PID files, then referred to them if -fwith killproc.
Jul
12
comment How to do nothing forever in an elegant way?
maybe... su -c 'while true; do true; done | cat > ~/output &' user?
Jul
12
asked Is it good practice to create a background job within an init script if the process can not daemonize itself?
Jul
12
comment How to do nothing forever in an elegant way?
Try su -c 'program | output &' user. I am about to ask a similar question with creating background jobs as an acceptable method for handling a "service/daemon." I also noticed that I could not redirect STDERR without also redirecting STDOUT. The solution where programA sends STDOUT to STDIN of programB, then redirects STDERR to a log file: programA 2> /var/log/programA.log | programB 2> /var/log/programB.log 1> /dev/null
Oct
27
awarded  Editor