diff options
Diffstat (limited to 'www/nginx/pkg-plist')
-rw-r--r-- | www/nginx/pkg-plist | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist index fee21d4fa0a..ace48038cb9 100644 --- a/www/nginx/pkg-plist +++ b/www/nginx/pkg-plist @@ -18,4 +18,7 @@ etc/nginx/nginx.conf-dist %%STOP_BEFORE_REMOVE%%@unexec %D/etc/rc.d/nginx.sh stop || true sbin/nginx etc/rc.d/nginx.sh +@exec [ -d %%TMPDIR%% ] || mkdir -p %%TMPDIR%% +@exec chown %%WWWOWN%%:%%WWWGRP%% %%TMPDIR%% +@unexec rm -fr %%TMPDIR%% %%START_AFTER_INSTALL%%@exec %D/etc/rc.d/nginx.sh start |