running program at startup
I got nrpe running as daemon & this is the comand to run it
/home/me/nrpe-2.5.2/src/nrpe -d -n -c /etc/nrpe.cfg
I want this command to be started when I reboot the box. I was wondering
if I could add it somewhere so it starts every time the box starts.
/sbin/chkconfig --add nrpe
/sbin/chkconfig --add /home/easysadmin/nrpe-2.5.2/src/nrpe
/sbin/chkconfig --add /home/easysadmin/nrpe-2.5.2/src/nrpe -d -n -c /etc/nrpe.cfg
without any success on a SUSE Linux Enterprise Server 10
I don't know either. How ever this is not really a general question. Maybe you could repost in the server forum, and also in the Suse forum. you may find more help there.
Did you create a startup script in /etc/init.d/ based on a skeleton script? If not then chkconfig won't create a link to the script.
An easier way would be to add that line to /etc/init.d/boot.local
|All times are GMT -5. The time now is 05:14 PM.|