From: | "Lars Wendler (polynomial-c)" <polynomial-c@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/collectl/files: collectl.initd-2 |
Date: | Wed, 28 May 2014 09:45:47 |
Message-Id: | 20140528094544.97B702004E@flycatcher.gentoo.org |
1 | polynomial-c 14/05/28 09:45:44 |
2 | |
3 | Added: collectl.initd-2 |
4 | Log: |
5 | Version bump. Removed old. Added rewritten init script |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-apps/collectl/files/collectl.initd-2 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/collectl/files/collectl.initd-2?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/collectl/files/collectl.initd-2?rev=1.1&content-type=text/plain |
14 | |
15 | Index: collectl.initd-2 |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2014 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/collectl/files/collectl.initd-2,v 1.1 2014/05/28 09:45:44 polynomial-c Exp $ |
21 | |
22 | extra_started_commands="flush" |
23 | |
24 | pidfile="/var/run/collectl.pid" |
25 | command="/usr/bin/collectl" |
26 | command_args="-D" |
27 | |
28 | flush() { |
29 | einfo "Flushing collectl buffers" |
30 | start-stop-daemon --signal USR1 --pidfile ${pidfile} |
31 | eend $? |
32 | } |