blob: 66319a2b302928d374530bc83b7b7d93f6ce7fac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/sbin/openrc-run
cmd=/usr/sbin/consolation
cmd_args="--no-daemon"
pid=/run/consolation.pid
description="Linux Console Pointer Interface"
depend() {
after bootmisc
}
start() {
ebegin "Starting Consolation"
start-stop-daemon --start --exec $cmd --background \
--pidfile $pid --make-pidfile -- $cmd_args
eend $?
}
stop() {
ebegin "Stopping Consolation"
start-stop-daemon --stop --exec $cmd
eend $?
}
restart() {
stop
start
}
|