how to start up a process on bootup
Asked by
rhackenb
I am trying to start up a process on bootup. Let's assume there is a Perl script called ~/bin/test.pl. I would like to have that script start running when the machine boots up. My intention is for the script to run forever (until I either kill it or I shut down the machine).
I think I have to put something in /etc/rcX.d but what I actually have to do is somewhat murky. Can someone give me a brief description of what I have to do? Also, does it have to go into the /etc directory? I have root privileges to put it there but is there an alternative where I could put it in my home directory?
Thanks.
--rhackenb
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- rhackenb
- Solved:
- Last query:
- Last reply:
To post a message you must log in.