summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-09 20:47:08 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-09 20:47:08 (EDT)
commit3070d380d24baf5c592af53d03dab1e98f766a01 (patch)
tree0bfddf7b0da583fea3dc3e67cfeee7d4021e48c4
parent9b1af84d38257a3022bfac96e6842aa4caf0adb2 (diff)
/etc/init.d/*: Use absolute paths with s-s-d.
-rwxr-xr-xsrc.etc/init.d/httpd2
-rwxr-xr-xsrc.etc/init.d/klogd2
-rwxr-xr-xsrc.etc/init.d/syslog2
-rwxr-xr-xsrc.etc/init.d/telnetd2
4 files changed, 4 insertions, 4 deletions
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'
}