Start services on boot

Started by jlindstrom, October 10, 2012, 12:38:24 PM

Previous topic - Next topic

jlindstrom

Hi,

I have successfully built netxms 1.2.3.1 on CentOS 5.8 but I also need to start the 2 services at boot time, does anyone know how to config CentOS to have them started at boot?

# /usr/local/bin/nxagentd –d
# /usr/local/bin/netxmsd -d

Many thanks,
Jesper.

Victor Kirhenshtein

Hi!

There are startup files in source tree under contrib/startup/redhat. Copy netxmsd and nxagentd to /etc/init.d, and run

chkconfig --add nxagentd
chkconfig --add netxmsd

to enable autostart.

Best regards,
Victor

jlindstrom

Hi,

Thank you for your quick reply, that worked!

Many thanks,
Jesper.