Line 2: Line 2:
 
*Edit it to give the path and arguments
 
*Edit it to give the path and arguments
 
  sudo vi /etc/init.d/<jobname>
 
  sudo vi /etc/init.d/<jobname>
 +
That's all. The job will run from the next time the system starts.
  
 
{{Template:FB}}
 
{{Template:FB}}
 
[[Category:Technical]]
 
[[Category:Technical]]

Revision as of 19:11, 17 December 2013

sudo cp /etc/init.d/skeleton /etc/init.d/<jobname>
  • Edit it to give the path and arguments
sudo vi /etc/init.d/<jobname>

That's all. The job will run from the next time the system starts.






This work is licensed under the CC By-SA 3.0 , without all the cruft that would otherwise be put at the bottom of the page.

Sister Sites: GATE CSE Wiki, GATE CSE, Aptitude Overflow