diff options
author | Pedro Arizmendi <dwosky@zoho.com> | 2019-03-21 17:45:48 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-04-09 09:29:06 +0200 |
commit | e53604532f966e9c3399169b87d30b16cd4e7070 (patch) | |
tree | 467be1de3734f0002052729ba02b5f18304b759d /www-misc/monitorix/files/monitorix.init | |
parent | app-vim/ri-browser: EAPI7 bump. (diff) | |
download | gentoo-e53604532f966e9c3399169b87d30b16cd4e7070.tar.gz gentoo-e53604532f966e9c3399169b87d30b16cd4e7070.tar.bz2 gentoo-e53604532f966e9c3399169b87d30b16cd4e7070.zip |
www-misc/monitorix: version bump to 3.11.0.
- Updated monitorix to version 3.11.0
- Fixed systemd script bug referencing the wrong path
- Updated init.d script to avoid issues
Closes: https://bugs.gentoo.org/681348
Signed-off-by: Pedro Arizmendi <dwosky@zoho.com>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/11446
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'www-misc/monitorix/files/monitorix.init')
-rw-r--r-- | www-misc/monitorix/files/monitorix.init | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/www-misc/monitorix/files/monitorix.init b/www-misc/monitorix/files/monitorix.init deleted file mode 100644 index a614bd0bd4a1..000000000000 --- a/www-misc/monitorix/files/monitorix.init +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run - -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 $? -} |