diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-08-05 23:19:36 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-08-05 23:19:36 +0000 |
commit | 9aac569eaa031e27191a3f4165b389a17f467ad2 (patch) | |
tree | 1ed78841e1757014ccc09581c61c3683992d3f77 /security/prelude-lml/files/prelude-lml.in | |
parent | When installing in the base, USE_RCORDER does the right thing without (diff) |
Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file
No PORTREVISION bump necessary because this is a no-op
Diffstat (limited to 'security/prelude-lml/files/prelude-lml.in')
-rw-r--r-- | security/prelude-lml/files/prelude-lml.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/security/prelude-lml/files/prelude-lml.in b/security/prelude-lml/files/prelude-lml.in new file mode 100644 index 000000000000..9da1f133c303 --- /dev/null +++ b/security/prelude-lml/files/prelude-lml.in @@ -0,0 +1,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" |