Running a command as a background process/service
问题 I have a Shell command that I'd like to run in the background and I've read that this can be done by suffixing an & to the command which causes it to run as a background process but I need some more functionality and was wondering how to go about it: I'd like the command to start and run in the background every time the system restarts. I'd like to be able to able to start and stop it as and when needed just like one can do service apache2 start . How can I go about this? Is there a tool that