blob: a56de1e1e2570c952eba43b15057074ddc782e96 (
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-2020 Gentoo Authors
# 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 $?
}
|