blob: c4c352a720dfc4a7d7e21b436032c1c8c7339489 (
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
|
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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 $?
}
|