blob: 4c31ad9a541a0d8da36d0059d1003944f8f3c940 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
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 $?
}
|