diff options
| author | Kurt Jaeger <pi@FreeBSD.org> | 2015-10-27 16:49:27 +0000 |
|---|---|---|
| committer | Kurt Jaeger <pi@FreeBSD.org> | 2015-10-27 16:49:27 +0000 |
| commit | 6829d1a0ab537103f59dc3d26665de25583eebc5 (patch) | |
| tree | 234c6534bb72dead6b76ed455b24eb947ddcb73f /mail/mimedefang/files/patch-examples__init-script.in | |
| parent | - Fix plist (diff) | |
mail/mimedefang: set correct users for working directories, pet portlint
PR: 203660
Submitted by: Pavel Timofeev <timp87@gmail.com>
Approved by: m.tsatsenko@gmail.com (maintainer)
Diffstat (limited to 'mail/mimedefang/files/patch-examples__init-script.in')
| -rw-r--r-- | mail/mimedefang/files/patch-examples__init-script.in | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mail/mimedefang/files/patch-examples__init-script.in b/mail/mimedefang/files/patch-examples__init-script.in index 4ad16ff7039d..29044a6e558e 100644 --- a/mail/mimedefang/files/patch-examples__init-script.in +++ b/mail/mimedefang/files/patch-examples__init-script.in @@ -1,6 +1,6 @@ ---- examples/init-script.in.orig 2010-06-29 14:50:32.000000000 -0700 -+++ examples/init-script.in 2012-02-14 23:06:37.000000000 -0800 -@@ -39,6 +39,12 @@ +--- examples/init-script.in.orig 2012-01-20 15:24:01 UTC ++++ examples/init-script.in +@@ -39,6 +39,12 @@ export LC_ALL # The socket used by mimedefang to communicate with sendmail # SOCKET=$SPOOLDIR/mimedefang.sock @@ -13,7 +13,7 @@ # Run the multiplexor and filters as this user, not root. RECOMMENDED MX_USER=@DEFANGUSER@ -@@ -132,11 +138,11 @@ +@@ -136,11 +142,11 @@ MX_MAXIMUM=10 # Limit slave processes' resident-set size to this many kilobytes. Default # is unlimited. @@ -27,7 +27,7 @@ # If you want to use the "notification" facility, set the appropriate port. # See the mimedefang-notify man page for details. -@@ -183,7 +189,7 @@ +@@ -187,7 +193,7 @@ then . /etc/rc.subr name=$prog @@ -36,7 +36,7 @@ # default to not enabled, enable in rc.conf eval $rcvar=\${$rcvar:-NO} -@@ -193,6 +199,7 @@ +@@ -197,6 +203,7 @@ then procname=$PROGDIR/$prog-multiplexor start_cmd="start_it" stop_cmd="stop_it" @@ -44,7 +44,7 @@ sig_reload="INT" reread_cmd="reread_it" # provide both "reload", the FreeBSD default, with a direct signal to -@@ -203,6 +210,8 @@ +@@ -207,6 +214,8 @@ fi # Make sure required vars are set SOCKET=${SOCKET:=$SPOOLDIR/$prog.sock} MX_SOCKET=${MX_SOCKET:=$SPOOLDIR/$prog-multiplexor.sock} @@ -53,7 +53,7 @@ start_it() { if test -r $PID ; then -@@ -286,6 +295,29 @@ +@@ -292,6 +301,29 @@ start_it() { kill `cat $MXPID` return 1 fi @@ -83,7 +83,7 @@ return 0 } -@@ -321,7 +353,7 @@ +@@ -327,7 +359,7 @@ stop_it() { rm -f $MX_SOCKET > /dev/null 2>&1 rm -f $SOCKET > /dev/null 2>&1 @@ -92,7 +92,7 @@ printf "Waiting for daemons to exit." WAITPID="" test -f $PID && WAITPID=`cat $PID` -@@ -373,6 +405,12 @@ +@@ -379,6 +411,12 @@ reread_it() { fi } |
