postfix: use my pkg instead of internet one
This commit is contained in:
parent
bfbd94af19
commit
3f1fb67314
2 changed files with 12 additions and 13 deletions
|
|
@ -1,13 +1,7 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ `which unbound-$1 2>/dev/null` ]; then
|
||||
set -- unbound-"$@"
|
||||
elif [ ! `which $1 2>/dev/null` ]; then
|
||||
set -- unbound -dv "$@"
|
||||
fi
|
||||
|
||||
unbound-anchor
|
||||
# POSTFIX_var env -> postconf -e var=$POSTFIX_var
|
||||
for e in ${!POSTFIX_*} ; do postconf -e "${e:8}=${!e}" ; done
|
||||
chown -R postfix:postfix /var/lib/postfix /var/mail /var/spool/postfix
|
||||
|
||||
exec "$@"
|
||||
|
|
|
|||
Reference in a new issue