summaryrefslogtreecommitdiff
path: root/debian/openssh-server.ssh.upstart
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-08-12 15:53:56 +0200
committerColin Watson <cjwatson@debian.org>2013-08-12 15:53:56 +0200
commit0334ce32304e9ba2a10ee5ca49ca6e8ff3ba6cf4 (patch)
treebf9a3cd717edbc42f98d7c3b31cfb64367aafadd /debian/openssh-server.ssh.upstart
parent1f710a2fdb64a1a7df0f0fcf074a0b5f73719ca5 (diff)
When running under Upstart, only consider the daemon started once it is
ready to accept connections (by raising SIGSTOP at that point and using "expect stop").
Diffstat (limited to 'debian/openssh-server.ssh.upstart')
-rw-r--r--debian/openssh-server.ssh.upstart3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openssh-server.ssh.upstart b/debian/openssh-server.ssh.upstart
index 21a6bc50b..10ab744f1 100644
--- a/debian/openssh-server.ssh.upstart
+++ b/debian/openssh-server.ssh.upstart
@@ -11,6 +11,9 @@ respawn
11respawn limit 10 5 11respawn limit 10 5
12umask 022 12umask 022
13 13
14env SSH_SIGSTOP=1
15expect stop
16
14# 'sshd -D' leaks stderr and confuses things in conjunction with 'console log' 17# 'sshd -D' leaks stderr and confuses things in conjunction with 'console log'
15console none 18console none
16 19