commit: a1d059a3a560a5c93d3b9f6fe38d9789bf37b99c
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 2 12:55:16 2017 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Aug 2 12:56:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d059a3
sys-process/atop: Fixed init script for atop-2.2 (bug #553246).
Package-Manager: Portage-2.3.6, Repoman-2.3.3
sys-process/atop/files/atop.rc-r1 | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/sys-process/atop/files/atop.rc-r1
b/sys-process/atop/files/atop.rc-r1
index e4d894e7328..c5172283a21 100644
--- a/sys-process/atop/files/atop.rc-r1
+++ b/sys-process/atop/files/atop.rc-r1
@@ -1,14 +1,8 @@
#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="Resource-specific view of processes"
pidfile="/var/run/atop.pid"
-command="/usr/bin/atop"
-
-start() {
- ebegin "Starting atop"
- start-stop-daemon --start --pidfile ${pidfile} \
- --exec /etc/atop/atop.daily
- eend $?
-}
+command="/etc/atop/atop.daily"
+command_background="true"