blob: 0e0194c63169fba3f8304955969e250f161ee562 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header:
start() {
ebegin "Starting Logkeys"
start-stop-daemon \
--start \
--pidfile /var/run/logkeys.pid \
--exec /usr/bin/logkeys -- -s ${LOGKEYS_ARGS}
eend $?
}
stop() {
ebegin "Stopping Logkeys"
start-stop-daemon --stop --pidfile /var/run/logkeys.pid
eend $?
}
|