]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- useful bits from ubuntu
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 8 Oct 2011 14:34:22 +0000 (14:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensshd.upstart -> 1.7

opensshd.upstart

index af4f7935ea6384891b9e6dace44aee3735ddca17..ea93559b656cea8f7317c73a0021f708d680a611 100644 (file)
@@ -1,9 +1,16 @@
+
 start on pld.network-started and started SERVICE_syslog=y and started random
 stop on pld.shutdown-started
 
 respawn
-oom -16
+respawn limit 10 5
 console output
+oom never
+
+pre-start script
+       test -x /usr/sbin/sshd || { stop; exit 0; }
+       test -c /dev/null || { stop; exit 0; }
+end script
 
 script
        . /etc/rc.d/init.d/functions
This page took 0.331563 seconds and 4 git commands to generate.