All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Jbs1buck
Posts: 2 Joined: Tue May 15, 2012 3:37 pm
Location: Boston MA
Post
by Jbs1buck » Tue May 15, 2012 3:42 pm
I need to have the hostmon deamon autostart after a re-boot.
how do I set this up in RHEL 5.7.
my korn shell script is below:
#!/usr/bin/ksh
/usr/Hostmon/rma -d /usr/Hostmon/rma.ini
This shell functions from commandline...
KS-Soft Europe
Posts: 2832 Joined: Tue May 16, 2006 4:41 am
Contact:
Post
by KS-Soft Europe » Tue May 15, 2012 4:50 pm
You may add
/usr/Hostmon/rma -d /usr/Hostmon/rma.ini
line into /etc/rc.d/rc.local file for RMA autostart.
Jbs1buck
Posts: 2 Joined: Tue May 15, 2012 3:37 pm
Location: Boston MA
Post
by Jbs1buck » Wed May 16, 2012 10:23 am
Update:
I've implemented your recommendation. Can I force the rc.local file to be re-read so I don't have to wait for a re-boot to test the new entry?
KS-Soft Europe
Posts: 2832 Joined: Tue May 16, 2006 4:41 am
Contact:
Post
by KS-Soft Europe » Wed May 16, 2012 3:29 pm
I think it's better to reboot system, to be sure script is properly executed during system startup.