Linux init autostart rma

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).
Post Reply
Jbs1buck
Posts: 2
Joined: Tue May 15, 2012 3:37 pm
Location: Boston MA

Linux init autostart rma

Post by Jbs1buck »

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 »

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

rc.local

Post by Jbs1buck »

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 »

I think it's better to reboot system, to be sure script is properly executed during system startup.
Post Reply