public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-misc/monitorix/files: monitorix-3.5.1.init monitorix-3.0.0.init
@ 2014-05-23 15:58 Tom Wijsman (tomwij)
  0 siblings, 0 replies; only message in thread
From: Tom Wijsman (tomwij) @ 2014-05-23 15:58 UTC (permalink / raw
  To: gentoo-commits

tomwij      14/05/23 15:58:03

  Added:                monitorix-3.5.1.init
  Removed:              monitorix-3.0.0.init
  Log:
  Version bump to 3.5.1, removed old, added systemd unit support. Fixed security bug #493434 (CVE-2013-7071); reported by Ago, based on a contribution by Wojciech Myrda (vojcek).
  
  (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)

Revision  Changes    Path
1.1                  www-misc/monitorix/files/monitorix-3.5.1.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/files/monitorix-3.5.1.init?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/files/monitorix-3.5.1.init?rev=1.1&content-type=text/plain

Index: monitorix-3.5.1.init
===================================================================
#! /sbin/runscript

depend() {
        need net
}

start() {
        ebegin "Starting monitorix"
        start-stop-daemon --start --exec /usr/sbin/monitorix --pidfile /var/run/monitorix.pid -- -c /etc/monitorix/monitorix.conf -p /var/run/monitorix.pid
        local i=0
        local timeout=5
        while [ ! -f /var/run/monitorix.pid ] && [ $i -le $timeout ]; do
                sleep 1
                i=$(($i + 1))
        done
        [ $timeout -gt $i ]
        eend $?
}

stop() {
        ebegin "Stopping monitorix"
        start-stop-daemon --stop --signal QUIT --stop --exec /usr/sbin/monitorix --pidfile /var/run/monitorix.pid
        eend $?
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-23 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 15:58 [gentoo-commits] gentoo-x86 commit in www-misc/monitorix/files: monitorix-3.5.1.init monitorix-3.0.0.init Tom Wijsman (tomwij)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox