diff options
author | Colin Watson <cjwatson@debian.org> | 2014-03-05 11:54:25 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-03-05 11:54:25 +0000 |
commit | 9c2db58d424afff0a9f1f708e31e4ce04d72001a (patch) | |
tree | 15084cdd3fe75befccb57c71e2697fcc835c5c9e /debian/systemd/ssh.socket | |
parent | 549ef3bec4fa6c31fdd1f4340738c4c4df6d81fb (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/systemd/ssh.socket')
-rw-r--r-- | debian/systemd/ssh.socket | 1 |
1 files changed, 1 insertions, 0 deletions
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] |
2 | Description=OpenBSD Secure Shell server socket | 2 | Description=OpenBSD Secure Shell server socket |
3 | Before=ssh.service | ||
3 | Conflicts=ssh.service | 4 | Conflicts=ssh.service |
4 | ConditionPathExists=!/etc/ssh/sshd_not_to_be_run | 5 | ConditionPathExists=!/etc/ssh/sshd_not_to_be_run |
5 | 6 | ||