diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-03-21 11:50:53 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-03-21 11:50:53 +0000 |
commit | 640cca1ddc62764a1315f4d5e9cb8d0f52dd0767 (patch) | |
tree | 9a19cf0f0f53ec5b37560d6d348f05a1991afeaf /security/prelude-lml/files | |
parent | 93631851fd24f2e1a257bb0ed55fecdb511f32dc (diff) | |
download | ports-640cca1ddc62764a1315f4d5e9cb8d0f52dd0767.tar.gz ports-640cca1ddc62764a1315f4d5e9cb8d0f52dd0767.zip |
Notes
Diffstat (limited to 'security/prelude-lml/files')
-rw-r--r-- | security/prelude-lml/files/prelude-lml.sh.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/security/prelude-lml/files/prelude-lml.sh.in b/security/prelude-lml/files/prelude-lml.sh.in new file mode 100644 index 000000000000..252be5d71e4a --- /dev/null +++ b/security/prelude-lml/files/prelude-lml.sh.in @@ -0,0 +1,27 @@ +#!/bin/sh + +# PROVIDE: prelude_lml +# REQUIRE: NETWORKING SERVERS +# +# 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 +# + +. %%RC_SUBR%% + +name="prelude_lml" +rcvar=${name}_enable + +command=%%PREFIX%%/bin/prelude-lml +pidfile=/var/run/prelude-lml.pid + +load_rc_config $name + +: ${prelude_lml_enable="NO"} +: ${prelude_lml_flags:-"-d -P ${pidfile}"} + +run_rc_command "$1" |