1844192 Members
2452 Online
110229 Solutions
New Discussion

INit script

 
ami6788
Occasional Contributor

INit script

Hi I need to deploy ED agent is my env, since its just a daemon that needs to be started or killed

I want it to start with system startup and halt with system shutdown. cld anyone pls help me with what init script i need to write for that
3 REPLIES 3
Jeeshan
Honored Contributor

Re: INit script

Ivan Krastev
Honored Contributor

Re: INit script

Check /sbin/init.d/template how to write your own script.

regards,
ivan
James R. Ferguson
Acclaimed Contributor

Re: INit script

Hi:

The manpages for 'rc(1M)' describe the requirements you must follow. As noted, begin with a copy of '/sbin/init.d/template' as this has the fundamental structure for the startup/shutdown script.

Regards!

...JRF...