aboutsummaryrefslogtreecommitdiff
path: root/www/nginx/pkg-plist
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2004-12-07 09:07:43 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2004-12-07 09:07:43 +0000
commit82bd92c0873e9ea142829c2119a8091440576b61 (patch)
tree6d2a19d6817f1d348353dea8e2c99f60ce2c8b38 /www/nginx/pkg-plist
parent85b3a56d59f12d41174210e8692cf8231d57ef5a (diff)
downloadports-82bd92c0873e9ea142829c2119a8091440576b61.tar.gz
ports-82bd92c0873e9ea142829c2119a8091440576b61.zip
Notes
Diffstat (limited to 'www/nginx/pkg-plist')
-rw-r--r--www/nginx/pkg-plist5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist
index 543e40b9de3d..c9ab18f7b2b3 100644
--- a/www/nginx/pkg-plist
+++ b/www/nginx/pkg-plist
@@ -1,4 +1,5 @@
@comment $FreeBSD$
+etc/nginx/koi-win
@unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi
etc/nginx/mime.types-dist
@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types
@@ -14,3 +15,7 @@ etc/nginx/nginx.conf-dist
%%WWWDATA%%@exec chmod a-w www/nginx-dist
%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
%%WWWDATA%%@dirrm www/nginx-dist
+%%STOP_BEFORE_REMOVE%%@unexec %D/etc/rc.d/nginx.sh stop || true
+sbin/nginx
+etc/rc.d/nginx.sh
+%%START_AFTER_INSTALL%%@exec %D/etc/rc.d/nginx.sh start