diff options
-rw-r--r-- | sys-process/atop/files/atop.rc-r1 | 12 |
1 files changed, 3 insertions, 9 deletions
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" |