diff options
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/snmpd.sh.sample')
-rw-r--r-- | net-mgmt/net-snmp-devel/files/snmpd.sh.sample | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/files/snmpd.sh.sample b/net-mgmt/net-snmp-devel/files/snmpd.sh.sample index f56301232645..814c0b7ac701 100644 --- a/net-mgmt/net-snmp-devel/files/snmpd.sh.sample +++ b/net-mgmt/net-snmp-devel/files/snmpd.sh.sample @@ -28,8 +28,9 @@ fi name=snmpd rcvar=`set_rcvar` -command=%%PREFIX%%/sbin/snmpd -pidfile='/var/run/snmpd.pid' +command=%%PREFIX%%/sbin/${name} +pidfile=/var/run/${name}.pid +sig_stop=-KILL -load_rc_config $name +load_rc_config ${name} run_rc_command "$1" |