diff options
author | khorben <khorben@pkgsrc.org> | 2021-08-29 21:04:55 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2021-08-29 21:04:55 +0000 |
commit | c36e767e97ebd2e6822350e67a0678ebd4db646c (patch) | |
tree | 0c3ccf7c49c4b4d2b61c637c8c344fea85c18e0e /mail/postfix/files | |
parent | a01412f80e0431b411d4b5c5347f63f86beea3ed (diff) | |
download | pkgsrc-c36e767e97ebd2e6822350e67a0678ebd4db646c.tar.gz |
postfix: let the RC script work unprivileged
This takes advantage of the introduction of the SYSCONFBASE variable.
Tested on NetBSD/amd64.
Bumps PKGREVISION.
Diffstat (limited to 'mail/postfix/files')
-rw-r--r-- | mail/postfix/files/postfix.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/postfix/files/postfix.sh b/mail/postfix/files/postfix.sh index 6c35eb99a21..72fed804a74 100644 --- a/mail/postfix/files/postfix.sh +++ b/mail/postfix/files/postfix.sh @@ -1,14 +1,17 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: postfix.sh,v 1.5 2005/12/30 06:29:41 martti Exp $ +# $NetBSD: postfix.sh,v 1.6 2021/08/29 21:04:55 khorben Exp $ # - # PROVIDE: mail # REQUIRE: LOGIN # we make mail start late, so that things like .forward's are not # processed until the system is fully operational +# +# You will need to set some variables in @SYSCONFBASE@/rc.conf to start postfix: +# +# postfix=YES -. /etc/rc.subr +$_rc_subr_loaded . @SYSCONFBASE@/rc.subr name="postfix" rcvar=$name |