summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-05-28 09:45:44 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-05-28 09:45:44 +0000
commit69eb7a81394baef69e55eb6cf7ba3705fdaf1b02 (patch)
tree0d5a5d3a70235e39ddcbddefee4ba123e2d3f8df /sys-apps/collectl/files
parentAdd 'Uzbek in Latin script' locale (diff)
downloadgentoo-2-69eb7a81394baef69e55eb6cf7ba3705fdaf1b02.tar.gz
gentoo-2-69eb7a81394baef69e55eb6cf7ba3705fdaf1b02.tar.bz2
gentoo-2-69eb7a81394baef69e55eb6cf7ba3705fdaf1b02.zip
Version bump. Removed old. Added rewritten init script
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'sys-apps/collectl/files')
-rwxr-xr-xsys-apps/collectl/files/collectl.initd-216
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/collectl/files/collectl.initd-2 b/sys-apps/collectl/files/collectl.initd-2
new file mode 100755
index 000000000000..c271c7a6a20e
--- /dev/null
+++ b/sys-apps/collectl/files/collectl.initd-2
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/collectl/files/collectl.initd-2,v 1.1 2014/05/28 09:45:44 polynomial-c Exp $
+
+extra_started_commands="flush"
+
+pidfile="/var/run/collectl.pid"
+command="/usr/bin/collectl"
+command_args="-D"
+
+flush() {
+ einfo "Flushing collectl buffers"
+ start-stop-daemon --signal USR1 --pidfile ${pidfile}
+ eend $?
+}