Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: NickCritten on September 11, 2007, 03:13:35 PM
-
Hi All,
I would like to have the snmptrapd service start at boot time, but as it doesn't have an entry in the config DB I've no idea how to do this.
I've already created /etc/sysconfig/snmptrapd.options with my preferred arguments, and set up everything else I need with template fragments.
The service starts absolutely fine if I manually issue a /etc/rc.d/init.d/snmptrapd start
However I need for the service to start when the machine reboots.
Can anyone please advise how to do this within the SME Standards?
Many thanks,
Nick
-
You have the answer in the dev guide:
db configuration set snmptrapd service status enabled
cd /etc/rc7.d
ln -s ../init.d/e-smith-services ./S80snmptrapd
For example