polynomial-c    14/05/28 09:45:44

  Added:                collectl.initd-2
  Log:
  Version bump. Removed old. Added rewritten init script
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0x981CA6FC)

Revision  Changes    Path
1.1                  sys-apps/collectl/files/collectl.initd-2

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/collectl/files/collectl.initd-2?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/collectl/files/collectl.initd-2?rev=1.1&content-type=text/plain

Index: collectl.initd-2
===================================================================
#!/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 $?
}




Reply via email to