]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- pass --pidfile to daemon, if start-stop-daemon is used, it needs pidfile check
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 19 May 2008 06:09:17 +0000 (06:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensshd.init -> 1.31

opensshd.init

index f15f1125cfce69d3cabdf478ec3d957c747084c5..798d514f2590c171141ac967e4e27a7260f771ef 100644 (file)
@@ -61,7 +61,7 @@ start() {
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/sshd ]; then
                msg_starting OpenSSH
-               daemon /usr/sbin/sshd
+               daemon --pidfile /var/run/sshd.pid /usr/sbin/sshd
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sshd
        else
This page took 0.036037 seconds and 4 git commands to generate.