mschiff     14/09/18 17:25:35

  Added:                poolmon.init poolmon.conf poolmon.logrotate
  Log:
  ebuild added to tree.
  
  (Portage version: 2.2.12-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x296C6CCA35A64134)

Revision  Changes    Path
1.1                  sys-cluster/poolmon/files/poolmon.init

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/poolmon/files/poolmon.init?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/poolmon/files/poolmon.init?rev=1.1&content-type=text/plain

Index: poolmon.init
===================================================================
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/poolmon/files/poolmon.init,v 1.1 
2014/09/18 17:25:35 mschiff Exp $

start() {
        local pidfile=/run/poolmon.pid
        ebegin "Starting poolmon"
        start-stop-daemon --pidfile "${pidfile}" --exec /usr/bin/poolmon -- 
${OPTIONS}
        eend $?
}

stop() {
        local pidfile=/run/poolmon.pid
        ebegin "Stopping poolmon"
        start-stop-daemon --stop --pidfile "${pidfile}"
        eend $?
}



1.1                  sys-cluster/poolmon/files/poolmon.conf

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/poolmon/files/poolmon.conf?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/poolmon/files/poolmon.conf?rev=1.1&content-type=text/plain

Index: poolmon.conf
===================================================================
# /etc/conf.d/poolmon
# set poolmon commandline options
OPTIONS=""



1.1                  sys-cluster/poolmon/files/poolmon.logrotate

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/poolmon/files/poolmon.logrotate?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/poolmon/files/poolmon.logrotate?rev=1.1&content-type=text/plain

Index: poolmon.logrotate
===================================================================
/var/log/poolmon.log {
        missingok
        postrotate
                /bin/kill -HUP `cat /run/poolmon.pid 2> /dev/null` 2>/dev/null 
|| true
        endscript
}




Reply via email to