Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: CKConsulting on April 18, 2007, 08:19:43 PM
-
I'm trying to start zabbix-agentd automatically after a reboot.
I can start the service with
/etc/init.d/zabbix-agentd start
and all works fine.
I tried editing the file /etc/rc.d/rc.local with following but it did not work.
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/etc/init.d/zabbix-agentd start
Thanks
Rick
-
I'm trying to start zabbix-agentd automatically after a reboot.
Have a look at this thread a few down from yours :wink:
http://forums.contribs.org/index.php?topic=36665.0
-
Thanks, but how do I know what to name the file??
Rick
-
I'm trying to start zabbix-agentd automatically
Start by reading about run-level 7 and the e-smith-service wrapper in the Developer manual:
http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/x844.htm
Darrell