diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-10 13:40:41 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-10 13:40:41 +0000 |
commit | ef7f2d6bba55bb9fb1d0ff03420c07b0c048ee54 (patch) | |
tree | 952e0fb8a1543185f790d3580ff753f8799f1fe0 /net-mgmt/net-snmp/files/snmpd.sh.sample | |
parent | f94ee3fd39a17f3dd045e3dcea638337f2dd9552 (diff) | |
download | ports-ef7f2d6bba55bb9fb1d0ff03420c07b0c048ee54.tar.gz ports-ef7f2d6bba55bb9fb1d0ff03420c07b0c048ee54.zip |
Notes
Diffstat (limited to 'net-mgmt/net-snmp/files/snmpd.sh.sample')
-rw-r--r-- | net-mgmt/net-snmp/files/snmpd.sh.sample | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp/files/snmpd.sh.sample b/net-mgmt/net-snmp/files/snmpd.sh.sample index f56301232645..814c0b7ac701 100644 --- a/net-mgmt/net-snmp/files/snmpd.sh.sample +++ b/net-mgmt/net-snmp/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" |