diff options
author | Colin Watson <cjwatson@debian.org> | 2014-02-10 14:37:55 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-02-10 14:37:55 +0000 |
commit | 11cbb530aa4ca54344eb8941342bfe510f4b981b (patch) | |
tree | 3cc6e4aa03bb76121fa1d4f8ee2fbcbdc6cdb5c1 /debian/systemd/ssh.socket | |
parent | e4c505521f820cadada465ebfa8ff12e3d37feb9 (diff) |
Add systemd support (thanks, Sven Joachim; closes: #676830).
Diffstat (limited to 'debian/systemd/ssh.socket')
-rw-r--r-- | debian/systemd/ssh.socket | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/systemd/ssh.socket b/debian/systemd/ssh.socket new file mode 100644 index 000000000..fa1f615e4 --- /dev/null +++ b/debian/systemd/ssh.socket | |||
@@ -0,0 +1,11 @@ | |||
1 | [Unit] | ||
2 | Description=OpenBSD Secure Shell server socket | ||
3 | Conflicts=ssh.service | ||
4 | ConditionPathExists=!/etc/ssh/sshd_not_to_be_run | ||
5 | |||
6 | [Socket] | ||
7 | ListenStream=22 | ||
8 | Accept=yes | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=sockets.target | ||