summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-12-21 03:15:28 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-12-21 03:15:28 +0000
commit25dbd4889d24780472808278653de1d0d6429178 (patch)
treef02eb4416e0f053d9c2298d7529d76dcaf563f11 /sys-apps
parentEAPI=4; eliminate built_with_use (diff)
downloadgentoo-2-25dbd4889d24780472808278653de1d0d6429178.tar.gz
gentoo-2-25dbd4889d24780472808278653de1d0d6429178.tar.bz2
gentoo-2-25dbd4889d24780472808278653de1d0d6429178.zip
Add pidfile to initd for klogd, ntpd and watchdog, bug #444718
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/busybox/ChangeLog6
-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
5 files changed, 12 insertions, 9 deletions
diff --git a/sys-apps/busybox/ChangeLog b/sys-apps/busybox/ChangeLog
index 3c6acb9ac231..019b491a9e94 100644
--- a/sys-apps/busybox/ChangeLog
+++ b/sys-apps/busybox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/busybox
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/ChangeLog,v 1.332 2012/12/04 12:10:35 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/ChangeLog,v 1.333 2012/12/21 03:15:28 blueness Exp $
+
+ 21 Dec 2012; Anthony G. Basile <blueness@gentoo.org> files/klogd.initd,
+ files/ntpd.initd, files/syslogd.initd, files/watchdog.initd:
+ Add pidfile to initd for klogd, ntpd and watchdog, bug #444718
04 Dec 2012; Anthony G. Basile <blueness@gentoo.org> +files/klogd.confd,
+files/klogd.initd, +files/ntpd.confd, +files/ntpd.initd,
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