summaryrefslogtreecommitdiff
path: root/debian/systemd/ssh.service
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-12 12:16:35 +0000
committerColin Watson <cjwatson@debian.org>2014-02-12 12:16:40 +0000
commita7ab96dac4597c0c34ffe22a5d92a83a2e579edf (patch)
treed97cf8c0ac45d3388ce848bab804729f66e70560 /debian/systemd/ssh.service
parent0cf4774e31e0a190a2399591a99f6a05c948f268 (diff)
Remove unnecessary /dev/null tests
Remove tests for whether /dev/null is a character device from the Upstart job and the systemd service files; it's there to avoid a confusing failure mode in daemon(), but with modern init systems we use the -D option to suppress daemonisation anyway.
Diffstat (limited to 'debian/systemd/ssh.service')
-rw-r--r--debian/systemd/ssh.service1
1 files changed, 0 insertions, 1 deletions
diff --git a/debian/systemd/ssh.service b/debian/systemd/ssh.service
index 6f69923f1..e7209f75a 100644
--- a/debian/systemd/ssh.service
+++ b/debian/systemd/ssh.service
@@ -5,7 +5,6 @@ ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
5 5
6[Service] 6[Service]
7EnvironmentFile=-/etc/default/ssh 7EnvironmentFile=-/etc/default/ssh
8ExecStartPre=/usr/bin/test -c /dev/null
9ExecStart=/usr/sbin/sshd -D $SSHD_OPTS 8ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
10ExecReload=/bin/kill -HUP $MAINPID 9ExecReload=/bin/kill -HUP $MAINPID
11KillMode=process 10KillMode=process