]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- pidfile in /var/run/snmpd.pid
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 25 Jul 2007 16:05:27 +0000 (16:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmpd.init -> 1.13

net-snmpd.init

index 02760102e02fcb89fc7db5c37dec717815e0a27a..f334d5ad703c07e61481c2a287e2c247b27d89ae 100644 (file)
@@ -45,7 +45,7 @@ case "$1" in
        if [ ! -f /var/lock/subsys/snmpd ]; then
                msg_starting "snmpd"
                daemon /usr/bin/setsid /usr/sbin/snmpd \
-                       $([ -n "$CONF_FILE" ] && echo "-C -c $CONF_FILE") \
+                       $([ -n "$CONF_FILE" ] && echo "-C -c $CONF_FILE -p /var/run/snmpd.pid") \
                        $( is_yes "$LOG_WARNINGS_MESSAGES_TO_SYSLOG" && \
                                echo "-Lsd" ) </dev/null
                RETVAL=$?
This page took 0.16371 seconds and 4 git commands to generate.