diff options
author | schmonz <schmonz@pkgsrc.org> | 2018-12-12 01:08:30 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2018-12-12 01:08:30 +0000 |
commit | 0c9241a5e114efee591f2f933593bb1b4f4b3464 (patch) | |
tree | dfc1d17e7f66a421502a88e4bb1abbecb7a07543 /mail/qmail-run/files | |
parent | 75be4d780a8bfce33a229058582ea1a89e16e120 (diff) | |
download | pkgsrc-0c9241a5e114efee591f2f933593bb1b4f4b3464.tar.gz |
Make sure ${VARBASE}/run exists before creating the qmail-send pidfile.
On a freshly bootstrapped Debian 9, somehow it didn't. Bump version.
Diffstat (limited to 'mail/qmail-run/files')
-rw-r--r-- | mail/qmail-run/files/qmailsend.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/qmail-run/files/qmailsend.sh b/mail/qmail-run/files/qmailsend.sh index 9a1443c9249..14d913de0bc 100644 --- a/mail/qmail-run/files/qmailsend.sh +++ b/mail/qmail-run/files/qmailsend.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: qmailsend.sh,v 1.14 2018/12/04 17:00:59 schmonz Exp $ +# $NetBSD: qmailsend.sh,v 1.15 2018/12/12 01:08:30 schmonz Exp $ # # @PKGNAME@ script to control qmail-send (local and outgoing mail). # @@ -45,6 +45,7 @@ qmailsend_prestart() if [ -f /etc/rc.subr ] && ! checkyesno qmailsend_log; then qmailsend_logcmd=${qmailsend_nologcmd} fi + @MKDIR@ "@VARBASE@/run" # qmail-start(8) starts the various qmail processes, then execs # qmail-send(8). That's the process we want to signal later. command="@PREFIX@/bin/pgrphack @SETENV@ - PATH=@PREFIX@/bin:$PATH ${qmailsend_postenv} |