diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-06-17 10:08:30 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-06-17 10:08:30 +0000 |
commit | e41bdfdd6588ac134dd9a0b0fb377d91486c71e0 (patch) | |
tree | 903d2197a16351eb1f3e127d05c0dcee96381c6e /security/prelude-lml | |
parent | 9e4f22b0de4bfea26b5516cdaa0fea108c177b94 (diff) | |
download | ports-e41bdfdd6588ac134dd9a0b0fb377d91486c71e0.tar.gz ports-e41bdfdd6588ac134dd9a0b0fb377d91486c71e0.zip |
Notes
Diffstat (limited to 'security/prelude-lml')
-rw-r--r-- | security/prelude-lml/Makefile | 2 | ||||
-rw-r--r-- | security/prelude-lml/files/prelude-lml.sh.in | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/security/prelude-lml/Makefile b/security/prelude-lml/Makefile index bc68ae92c1f5..7c76ecb63fac 100644 --- a/security/prelude-lml/Makefile +++ b/security/prelude-lml/Makefile @@ -6,7 +6,7 @@ PORTNAME= prelude-lml PORTVERSION= 0.9.15 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.prelude-technologies.com/download/releases/${PORTNAME}/ diff --git a/security/prelude-lml/files/prelude-lml.sh.in b/security/prelude-lml/files/prelude-lml.sh.in index e0e5bf1f98fd..9da1f133c303 100644 --- a/security/prelude-lml/files/prelude-lml.sh.in +++ b/security/prelude-lml/files/prelude-lml.sh.in @@ -1,7 +1,10 @@ #!/bin/sh +# $FreeBSD$ +# # PROVIDE: prelude_lml -# REQUIRE: NETWORKING SERVERS +# REQUIRE: LOGIN postgresql mysql +# KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: @@ -9,19 +12,18 @@ # 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 -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}"} +: ${prelude_lml_enable:="NO"} + +command=%%PREFIX%%/bin/prelude-lml +pidfile=/var/run/prelude-lml.pid +command_args="-d -P $pidfile" run_rc_command "$1" |