diff options
author | Colin Watson <cjwatson@debian.org> | 2007-12-24 10:52:06 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-12-24 10:52:06 +0000 |
commit | 7fa2b63e24f9a3911090c9ee88307dcc93946611 (patch) | |
tree | da46c443ad17b41c35929a294a2043362108b76c /debian/openssh-server.init | |
parent | 58a4b1d51bab48fddba8a38ff1c0f8683242324b (diff) |
* Create /var/run/sshd on start even if /etc/ssh/sshd_not_to_be_run exists
(closes: #453285).
Diffstat (limited to 'debian/openssh-server.init')
-rw-r--r-- | debian/openssh-server.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.init b/debian/openssh-server.init index 59f45edd0..7706b6c39 100644 --- a/debian/openssh-server.init +++ b/debian/openssh-server.init | |||
@@ -70,10 +70,10 @@ export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" | |||
70 | 70 | ||
71 | case "$1" in | 71 | case "$1" in |
72 | start) | 72 | start) |
73 | check_privsep_dir | ||
73 | check_for_no_start | 74 | check_for_no_start |
74 | check_dev_null | 75 | check_dev_null |
75 | log_daemon_msg "Starting OpenBSD Secure Shell server" "sshd" | 76 | log_daemon_msg "Starting OpenBSD Secure Shell server" "sshd" |
76 | check_privsep_dir | ||
77 | if start-stop-daemon --start --quiet --oknodo --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPTS; then | 77 | if start-stop-daemon --start --quiet --oknodo --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPTS; then |
78 | log_end_msg 0 | 78 | log_end_msg 0 |
79 | else | 79 | else |