diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2011-06-03 21:35:32 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2011-06-03 21:35:32 +0000 |
commit | 8496c75dcd1f67286c3dcbad27228d2904b0ad9a (patch) | |
tree | efea6718c2654dba5099660530ca5247d90c57a0 /mail/sqlgrey | |
parent | 8615c02494266b12fe8791bf1a726ac5a619e32f (diff) |
Notes
Diffstat (limited to 'mail/sqlgrey')
-rw-r--r-- | mail/sqlgrey/files/sqlgrey.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/sqlgrey/files/sqlgrey.in b/mail/sqlgrey/files/sqlgrey.in index 9a0569078d35..d44fc2ea558b 100644 --- a/mail/sqlgrey/files/sqlgrey.in +++ b/mail/sqlgrey/files/sqlgrey.in @@ -1,19 +1,17 @@ #!/bin/sh + # $FreeBSD$ # - # PROVIDE: sqlgrey # REQUIRE: LOGIN # BEFORE: mail # KEYWORD: shutdown - # # Add the following lines to /etc/rc.conf to enable sqlgrey: # # sqlgrey_enable="YES" # # See man sqlgrey for flags or the config file. -# . /etc/rc.subr @@ -34,7 +32,8 @@ sqlgrey_poststop() load_rc_config $name sqlgrey_enable=${sqlgrey_enable-"NO"} -sqlgrey_config=${sqlgrey_config-"/usr/local/%%ETCDIR%%/sqlgrey.conf"} -sqlgrey_flags=${sqlgrey_flags-"--daemonize --configfile=${sqlgrey_config}"} +required_files=${sqlgrey_config-"%%PREFIX%%/%%ETCDIR%%/sqlgrey.conf"} + +command_args="--configfile=${required_files} --daemonize" run_rc_command "$1" |