aboutsummaryrefslogtreecommitdiff
path: root/www/unit
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2018-01-20 19:36:17 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2018-01-20 19:36:17 +0000
commitabf4b6b3b95bab319d5d8274f3f75579c4294a80 (patch)
treee0e97a0d0e36732cfdead7f792a80c24bda72a91 /www/unit
parentf2558404c1405c074ef381dee02f5f6ea9b989e8 (diff)
downloadports-abf4b6b3b95bab319d5d8274f3f75579c4294a80.tar.gz
ports-abf4b6b3b95bab319d5d8274f3f75579c4294a80.zip
Add back LOG/RUN directories creation to fix unit's start-up.
Bump PORTREVISION. PR: 225213
Notes
Notes: svn path=/head/; revision=459542
Diffstat (limited to 'www/unit')
-rw-r--r--www/unit/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/unit/Makefile b/www/unit/Makefile
index 792618c55250..09c6e40e87f2 100644
--- a/www/unit/Makefile
+++ b/www/unit/Makefile
@@ -3,6 +3,7 @@
PORTNAME= unit
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://unit.nginx.org/download/
@@ -70,6 +71,10 @@ CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK}
.if !target(post-install)
post-install:
+ ${MKDIR} ${STAGEDIR}${UNIT_LOGDIR}
+ ${MKDIR} ${STAGEDIR}${UNIT_RUNDIR}
+ ${ECHO_CMD} @dir ${UNIT_LOGDIR} >> ${TMPPLIST}
+ ${ECHO_CMD} @dir ${UNIT_RUNDIR} >> ${TMPPLIST}
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules
.endif