blob: d62c922c050edd634f89f670ccbba802132e3c86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
start() {
local pidfile=/run/poolmon.pid
ebegin "Starting poolmon"
start-stop-daemon --pidfile "${pidfile}" --exec /usr/bin/poolmon -- ${OPTIONS}
eend $?
}
stop() {
local pidfile=/run/poolmon.pid
ebegin "Stopping poolmon"
start-stop-daemon --stop --pidfile "${pidfile}"
eend $?
}
|