blob: 0e1dd2e0f4fc5501414c3ba8fb4c1b483ed0c635 (
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
|
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
BIN_LML=/usr/bin/prelude-lml
PID_LML=/run/prelude-lml/prelude-lml.pid
depend() {
need net
after prelude-manager
}
start() {
ebegin "Starting prelude-lml"
checkpath -d -m 0755 -o root:root /run/prelude-lml
start-stop-daemon --start --exec $BIN_LML \
--pidfile $PID_LML -- -d -P $PID_LML
eend $?
}
stop() {
ebegin "Stopping prelude-lml"
start-stop-daemon --stop --exec $BIN_LML \
--pidfile $PID_LML
eend $?
}
|