blob: 9da1f133c303eeb3c9967ac35e0cc2d0ea13a549 (
plain) (
blame)
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
|
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: prelude_lml
# REQUIRE: LOGIN postgresql mysql
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# prelude_lml_enable (bool): Set to NO by default.
# Set it to YES to enable Prelude LML.
# prelude_lml_flags (flags): Set arguments to use with Prelude LML
. /etc/rc.subr
name="prelude_lml"
rcvar=prelude_lml_enable
load_rc_config $name
: ${prelude_lml_enable:="NO"}
command=%%PREFIX%%/bin/prelude-lml
pidfile=/var/run/prelude-lml.pid
command_args="-d -P $pidfile"
run_rc_command "$1"
|