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