From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 26B6D1381FA for ; Fri, 23 May 2014 15:58:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96BF9E08E1; Fri, 23 May 2014 15:58:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A195E08E1 for ; Fri, 23 May 2014 15:58:06 +0000 (UTC) Received: from flycatcher.gentoo.org (unknown [81.93.255.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 229FE33FDFC for ; Fri, 23 May 2014 15:58:05 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2335) id CD0582004E; Fri, 23 May 2014 15:58:03 +0000 (UTC) From: "Tom Wijsman (tomwij)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, tomwij@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in www-misc/monitorix/files: monitorix-3.5.1.init monitorix-3.0.0.init X-VCS-Repository: gentoo-x86 X-VCS-Files: monitorix-3.5.1.init monitorix-3.0.0.init X-VCS-Directories: www-misc/monitorix/files X-VCS-Committer: tomwij X-VCS-Committer-Name: Tom Wijsman Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20140523155803.CD0582004E@flycatcher.gentoo.org> Date: Fri, 23 May 2014 15:58:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0d0fa5b9-394a-4f90-810f-e5ab2365d93a X-Archives-Hash: 51d0f4b7a7bdc2183fe3884bda9457c5 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 $? }