summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-12-21 03:15:42 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-12-21 03:15:42 +0000
commitb9ac83b0c6b0619813078e7f5caceee9925a2e7d (patch)
tree448857d18eee0b53c5573d3cb47b2622d6a7f666 /sys-apps/busybox/files
parentEAPI=4; eliminate built_with_use (diff)
downloadhistorical-b9ac83b0c6b0619813078e7f5caceee9925a2e7d.tar.gz
historical-b9ac83b0c6b0619813078e7f5caceee9925a2e7d.tar.bz2
historical-b9ac83b0c6b0619813078e7f5caceee9925a2e7d.zip
Add pidfile to initd for klogd, ntpd and watchdog, bug #444718
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'sys-apps/busybox/files')
-rw-r--r--sys-apps/busybox/files/klogd.initd4
-rw-r--r--sys-apps/busybox/files/ntpd.initd4
-rw-r--r--sys-apps/busybox/files/syslogd.initd3
-rw-r--r--sys-apps/busybox/files/watchdog.initd4
4 files changed, 7 insertions, 8 deletions
diff --git a/sys-apps/busybox/files/klogd.initd b/sys-apps/busybox/files/klogd.initd
index 0eba0cbfc68f..4c6dbbc5f463 100644
--- a/sys-apps/busybox/files/klogd.initd
+++ b/sys-apps/busybox/files/klogd.initd
@@ -1,11 +1,11 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/klogd.initd,v 1.1 2012/12/04 12:10:35 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/klogd.initd,v 1.2 2012/12/21 03:15:28 blueness Exp $
-# Note: the klogd applet does not produce a pidfile
command="/bin/busybox klogd"
command_args="${KLOGD_OPTS}"
+pidfile="/var/run/klogd.pid"
depend() {
need clock hostname
diff --git a/sys-apps/busybox/files/ntpd.initd b/sys-apps/busybox/files/ntpd.initd
index 516e3a6888c6..5a05c31f37b2 100644
--- a/sys-apps/busybox/files/ntpd.initd
+++ b/sys-apps/busybox/files/ntpd.initd
@@ -1,11 +1,11 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/ntpd.initd,v 1.1 2012/12/04 12:10:35 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/ntpd.initd,v 1.2 2012/12/21 03:15:28 blueness Exp $
-# Note: the ntpd applet does not produce a pidfile
command="/bin/busybox ntpd"
command_args="${NTPD_OPTS}"
+pidfile="/var/run/ntpd.pid"
depend() {
use net dns logger
diff --git a/sys-apps/busybox/files/syslogd.initd b/sys-apps/busybox/files/syslogd.initd
index 0f91fccf4227..f14224aed42e 100644
--- a/sys-apps/busybox/files/syslogd.initd
+++ b/sys-apps/busybox/files/syslogd.initd
@@ -1,9 +1,8 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/syslogd.initd,v 1.1 2012/12/04 12:10:35 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/syslogd.initd,v 1.2 2012/12/21 03:15:28 blueness Exp $
-# Note: the syslogd pid file is hard coded
command="/bin/busybox syslogd"
command_args="${SYSLOGD_OPTS}"
pidfile="/var/run/syslogd.pid"
diff --git a/sys-apps/busybox/files/watchdog.initd b/sys-apps/busybox/files/watchdog.initd
index 737937d21e9d..821c0f8cca46 100644
--- a/sys-apps/busybox/files/watchdog.initd
+++ b/sys-apps/busybox/files/watchdog.initd
@@ -1,11 +1,11 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/watchdog.initd,v 1.1 2012/12/04 12:10:35 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/watchdog.initd,v 1.2 2012/12/21 03:15:28 blueness Exp $
-# Note: the watchdog applet does not produce a pidfile
command="/bin/busybox watchdog"
command_args="${WATCHDOG_OPTS}"
+pidfile="/var/run/watchdog.pid"
depend() {
provide watchdog