Arjun Suresh (talk | contribs) (Created page with "*sudo cp /etc/init.d/skeleton /etc/init.d/<jobname> Edit it to give the path and arguments * sudo vi /etc/init.d/<jobname> {{Templae:FB}} Category:Technical") |
Arjun Suresh (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | sudo cp /etc/init.d/skeleton /etc/init.d/<jobname> | |
− | Edit it to give the path and arguments | + | *Edit it to give the path and arguments |
− | + | sudo vi /etc/init.d/<jobname> | |
− | + | *Update initrd | |
+ | sudo update-rc.d <jobname> defaults | ||
+ | That's all. The job will run from the next time the system starts. | ||
− | {{ | + | {{Template:FB}} |
[[Category:Technical]] | [[Category:Technical]] |
sudo cp /etc/init.d/skeleton /etc/init.d/<jobname>
sudo vi /etc/init.d/<jobname>
sudo update-rc.d <jobname> defaults
That's all. The job will run from the next time the system starts.
Edit it to give the path and arguments