summaryrefslogtreecommitdiff
path: root/debian/init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/init')
-rw-r--r--debian/init3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/init b/debian/init
index 641b9eff5..552330422 100644
--- a/debian/init
+++ b/debian/init
@@ -59,10 +59,9 @@ case "$1" in
59 restart) 59 restart)
60 check_config 60 check_config
61 echo -n "Restarting OpenBSD Secure Shell server: sshd" 61 echo -n "Restarting OpenBSD Secure Shell server: sshd"
62 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/sshd.pid 62 start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile /var/run/sshd.pid
63 check_for_no_start 63 check_for_no_start
64 check_privsep_dir 64 check_privsep_dir
65 sleep 2
66 start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPTS 65 start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPTS
67 echo "." 66 echo "."
68 ;; 67 ;;