summaryrefslogtreecommitdiff
path: root/debian/openssh-server.if-up
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-01-14 00:34:52 +0000
committerColin Watson <cjwatson@debian.org>2009-01-14 00:34:52 +0000
commit33ddee2b567b5203a9988897f50ac2e88b7d9c52 (patch)
tree78d0fdacf468104e1ce3faad2877a0710b4b3080 /debian/openssh-server.if-up
parentb9233cf7f7f6900f1391a0f4860c9c74be7c6350 (diff)
While the above is a valuable sanity-check, it turns out that it doesn't
really fix the bug (thanks to Kevin Price for testing), so for the meantime we'll just use '/etc/init.d/ssh restart', even though it is unfortunately heavyweight.
Diffstat (limited to 'debian/openssh-server.if-up')
-rw-r--r--debian/openssh-server.if-up3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/openssh-server.if-up b/debian/openssh-server.if-up
index 8db44fded..3b3120c66 100644
--- a/debian/openssh-server.if-up
+++ b/debian/openssh-server.if-up
@@ -30,6 +30,7 @@ if [ ! -f /var/run/sshd.pid ] || \
30 exit 0 30 exit 0
31fi 31fi
32 32
33/etc/init.d/ssh reload >/dev/null 2>&1 || true 33# We'd like to use 'reload' here, but it has some problems; see #502444.
34/etc/init.d/ssh restart >/dev/null 2>&1 || true
34 35
35exit 0 36exit 0