summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-03-05 11:54:25 +0000
committerColin Watson <cjwatson@debian.org>2014-03-05 11:54:25 +0000
commit9c2db58d424afff0a9f1f708e31e4ce04d72001a (patch)
tree15084cdd3fe75befccb57c71e2697fcc835c5c9e /debian
parent549ef3bec4fa6c31fdd1f4340738c4c4df6d81fb (diff)
Add Before=ssh.service to systemd ssh.socket file, since otherwise nothing guarantees that ssh.service has stopped before ssh.socket starts (thanks, Uoti Urpala).
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rw-r--r--debian/systemd/ssh.socket1
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 3d983a9df..873e437d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ openssh (1:6.5p1-5) UNRELEASED; urgency=medium
3 [ Colin Watson ] 3 [ Colin Watson ]
4 * Add Alias=sshd.service to systemd ssh.service file, to match "Provides: 4 * Add Alias=sshd.service to systemd ssh.service file, to match "Provides:
5 sshd" in the sysvinit script (thanks, Michael Biebl). 5 sshd" in the sysvinit script (thanks, Michael Biebl).
6 * Add Before=ssh.service to systemd ssh.socket file, since otherwise
7 nothing guarantees that ssh.service has stopped before ssh.socket starts
8 (thanks, Uoti Urpala).
6 9
7 [ Axel Beckert ] 10 [ Axel Beckert ]
8 * Split sftp-server into its own package to allow it to also be used by 11 * Split sftp-server into its own package to allow it to also be used by
diff --git a/debian/systemd/ssh.socket b/debian/systemd/ssh.socket
index fa1f615e4..5a766dcab 100644
--- a/debian/systemd/ssh.socket
+++ b/debian/systemd/ssh.socket
@@ -1,5 +1,6 @@
1[Unit] 1[Unit]
2Description=OpenBSD Secure Shell server socket 2Description=OpenBSD Secure Shell server socket
3Before=ssh.service
3Conflicts=ssh.service 4Conflicts=ssh.service
4ConditionPathExists=!/etc/ssh/sshd_not_to_be_run 5ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
5 6