From a1d059a3a560a5c93d3b9f6fe38d9789bf37b99c Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 2 Aug 2017 14:55:16 +0200 Subject: 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(-) (limited to 'sys-process') diff --git a/sys-process/atop/files/atop.rc-r1 b/sys-process/atop/files/atop.rc-r1 index e4d894e7328c..c5172283a212 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" -- cgit v1.2.3-65-gdbad