summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-08-02 14:55:16 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-08-02 14:56:32 +0200
commita1d059a3a560a5c93d3b9f6fe38d9789bf37b99c (patch)
tree1698c132cf6dbadc5322fa549377493f786dbb36 /sys-process
parentsys-process/atop: Bump to version 2.3.0 (diff)
downloadgentoo-a1d059a3a560a5c93d3b9f6fe38d9789bf37b99c.tar.gz
gentoo-a1d059a3a560a5c93d3b9f6fe38d9789bf37b99c.tar.bz2
gentoo-a1d059a3a560a5c93d3b9f6fe38d9789bf37b99c.zip
sys-process/atop: Fixed init script for atop-2.2 (bug #553246).
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/atop/files/atop.rc-r112
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"