From 998aa34beefda794a4a51ad15a1ec988c4a04217 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 6 Oct 2017 12:23:34 +0100 Subject: Adjust "Running sshd from inittab" instructions in README.Debian to recommend using service(8) rather than calling the init script directly. --- debian/README.Debian | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/README.Debian') diff --git a/debian/README.Debian b/debian/README.Debian index b8ae5d37b..f17ccb187 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -172,8 +172,8 @@ Running sshd from inittab ------------------------- Some people find it useful to run the sshd server from inittab, to make sure -that it always stays running. To do this, stop sshd ('/etc/init.d/ssh -stop'), add the following line to /etc/inittab, and run 'telinit q': +that it always stays running. To do this, stop sshd ('service ssh stop'), +add the following line to /etc/inittab, and run 'telinit q': ss:2345:respawn:/usr/sbin/sshd -D -- cgit v1.2.3