From 0e2344606097901a206be3778e8e1c56054e91f8 Mon Sep 17 00:00:00 2001 From: Pedro Arizmendi Date: Fri, 15 Apr 2016 22:22:50 +0200 Subject: www-misc/monitorix: Renamed init file Renamed the init file to just the package name, since the same version its compatible with higher package versions. Package-Manager: portage-2.2.26 Closes: https://github.com/gentoo/gentoo/pull/1269 Signed-off-by: Ian Delaney --- www-misc/monitorix/files/monitorix-3.5.1.init | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 www-misc/monitorix/files/monitorix-3.5.1.init (limited to 'www-misc/monitorix/files/monitorix-3.5.1.init') diff --git a/www-misc/monitorix/files/monitorix-3.5.1.init b/www-misc/monitorix/files/monitorix-3.5.1.init deleted file mode 100644 index 630636f1eed3..000000000000 --- a/www-misc/monitorix/files/monitorix-3.5.1.init +++ /dev/null @@ -1,24 +0,0 @@ -#!/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 $? -} -- cgit v1.2.3-65-gdbad