I've got an init.d
script which I want it to work in the background, even when I quit from the terminal. However I've tried making it run in the background with nohup
but had "no hope", because when I quit, by looking at the pstree
I can see the PID disappears and thus nohup
stops working.
Q: Is there another apart from nohup
way of pushing a script that works in the foreground to the background, even after you quit the terminal?