diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-08-21 12:48:31 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-08-22 16:17:24 +0100 |
commit | b4fc0d329c03de1c38dc3f908a10f7239c32a05c (patch) | |
tree | 9187928083f825c0cdc32a2bfc0fd369a600ea38 /debian/openssh-server.ssh.upstart | |
parent | 0aa09c9ec85924a27d864ccf26bc1fed79b41946 (diff) |
Drop upstart system and user jobs.
Diffstat (limited to 'debian/openssh-server.ssh.upstart')
-rw-r--r-- | debian/openssh-server.ssh.upstart | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/debian/openssh-server.ssh.upstart b/debian/openssh-server.ssh.upstart deleted file mode 100644 index 9b0e95450..000000000 --- a/debian/openssh-server.ssh.upstart +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | # ssh - OpenBSD Secure Shell server | ||
2 | # | ||
3 | # The OpenSSH server provides secure shell access to the system. | ||
4 | |||
5 | description "OpenSSH server" | ||
6 | |||
7 | start on runlevel [2345] | ||
8 | stop on runlevel [!2345] | ||
9 | |||
10 | respawn | ||
11 | respawn limit 10 5 | ||
12 | umask 022 | ||
13 | |||
14 | env SSH_SIGSTOP=1 | ||
15 | expect stop | ||
16 | |||
17 | # 'sshd -D' leaks stderr and confuses things in conjunction with 'console log' | ||
18 | console none | ||
19 | |||
20 | pre-start script | ||
21 | test -x /usr/sbin/sshd || { stop; exit 0; } | ||
22 | test -e /etc/ssh/sshd_not_to_be_run && { stop; exit 0; } | ||
23 | |||
24 | mkdir -p -m0755 /run/sshd | ||
25 | end script | ||
26 | |||
27 | # if you used to set SSHD_OPTS in /etc/default/ssh, you can change the | ||
28 | # 'exec' line here instead | ||
29 | exec /usr/sbin/sshd -D | ||