From 5db44cbbae1952d066de5c50480dd5a46dba92c8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 13 Dec 2020 11:56:43 -0500 Subject: /etc/init.d/*: Use s-s-d -x not -p --- (limited to 'src.etc/init.d/telnetd') diff --git a/src.etc/init.d/telnetd b/src.etc/init.d/telnetd index 4bb7613..e9630ea 100755 --- a/src.etc/init.d/telnetd +++ b/src.etc/init.d/telnetd @@ -6,12 +6,11 @@ STOP='60' start() { log 'Starting telnet daemon' - start-stop-daemon -S -q -p /var/run/telnetd.pid -m \ - -x /usr/sbin/telnetd -b -- -F + start-stop-daemon -S -q -x /usr/sbin/telnetd -b -- -F } stop() { log 'Stopping telnet daemon' - start-stop-daemon -K -q -p /var/run/telnetd.pid + start-stop-daemon -K -q -x /usr/sbin/telnetd } -- cgit v0.9.1