From a7ab96dac4597c0c34ffe22a5d92a83a2e579edf Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 12 Feb 2014 12:16:35 +0000 Subject: 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. --- debian/systemd/ssh@.service | 1 - 1 file changed, 1 deletion(-) (limited to 'debian/systemd/ssh@.service') diff --git a/debian/systemd/ssh@.service b/debian/systemd/ssh@.service index c2f9b1547..4b0801dbc 100644 --- a/debian/systemd/ssh@.service +++ b/debian/systemd/ssh@.service @@ -4,6 +4,5 @@ After=auditd.service [Service] EnvironmentFile=-/etc/default/ssh -ExecStartPre=/usr/bin/test -c /dev/null ExecStart=-/usr/sbin/sshd -i $SSHD_OPTS StandardInput=socket -- cgit v1.2.3