net-snmp: do not exit if files cannot be opened
If snmpd fails to open files, like /dev/kmem or /dev/mem, it exits. Avoid this by adding the -r argument. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
101791a236
commit
6df49a634a
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ start_service() {
|
|||
append_parm v1trapaddress host v1trapaddress
|
||||
append_parm trapsess trapsess trapsess
|
||||
|
||||
procd_set_param command $PROG -Lf /dev/null -f
|
||||
procd_set_param command $PROG -Lf /dev/null -f -r
|
||||
procd_set_param file $CONFIGFILE
|
||||
procd_set_param respawn
|
||||
|
||||
|
|
Loading…
Reference in a new issue