Running arbitrary program as daemon from init script
The command “doesn’t complete” because the daemon function does not run your application in the background for you. You will need to add an & to the end of your daemon command like so: daemon –user someproguser $exec & If someprog doesn’t handle SIGHUP, you should run the command with nohup to ensure that your … Read more