blob: e4d894e7328c2c3135bdc6959db8dc218ce9aaa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/sbin/openrc-run
# Copyright 1999-2015 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 $?
}
|