From 3070d380d24baf5c592af53d03dab1e98f766a01 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 09 May 2014 20:47:08 -0400 Subject: /etc/init.d/*: Use absolute paths with s-s-d. --- diff --git a/src.etc/init.d/httpd b/src.etc/init.d/httpd index 21b7c09..98e6b8b 100755 --- a/src.etc/init.d/httpd +++ b/src.etc/init.d/httpd @@ -3,7 +3,7 @@ start() { printf 'Starting httpd...' - start-stop-daemon -S -q -n httpd -x httpd -- -h /var/www + start-stop-daemon -S -q -n httpd -x /usr/sbin/httpd -- -h /var/www printf 'done.\n' } diff --git a/src.etc/init.d/klogd b/src.etc/init.d/klogd index 7747970..5a00ab9 100755 --- a/src.etc/init.d/klogd +++ b/src.etc/init.d/klogd @@ -3,7 +3,7 @@ start() { printf 'Starting klogd... ' - start-stop-daemon -S -q -n klogd -x klogd + start-stop-daemon -S -q -n klogd -x /sbin/klogd printf 'done.\n' } diff --git a/src.etc/init.d/syslog b/src.etc/init.d/syslog index 86a8586..7d274ce 100755 --- a/src.etc/init.d/syslog +++ b/src.etc/init.d/syslog @@ -5,7 +5,7 @@ SYSLOG_ROTATE_SIZE=65536 start() { printf 'Starting syslog... ' - start-stop-daemon -S -q -n syslogd -x syslogd -- \ + start-stop-daemon -S -q -n syslogd -x /sbin/syslogd -- \ -s "${SYSLOG_ROTATE_SIZE}" printf 'done.\n' } diff --git a/src.etc/init.d/telnetd b/src.etc/init.d/telnetd index d300c89..0f51046 100755 --- a/src.etc/init.d/telnetd +++ b/src.etc/init.d/telnetd @@ -3,7 +3,7 @@ start() { printf 'Starting telnetd... ' - start-stop-daemon -S -q -n telnetd -x telnetd + start-stop-daemon -S -q -n telnetd -x /usr/sbin/telnetd printf 'done.\n' } -- cgit v0.9.1