aboutsummaryrefslogtreecommitdiff
path: root/www/zerowait-httpd/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'www/zerowait-httpd/pkg-plist')
-rw-r--r--www/zerowait-httpd/pkg-plist11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/zerowait-httpd/pkg-plist b/www/zerowait-httpd/pkg-plist
index 45378495bc79..0f93ee8c904b 100644
--- a/www/zerowait-httpd/pkg-plist
+++ b/www/zerowait-httpd/pkg-plist
@@ -1,5 +1,4 @@
-@comment $FreeBSD$
-@unexec %D/etc/rc.d/0W-httpd.sh stop
+@unexec %D/etc/rc.d/0W-httpd stop
bin/update-countries.sh
bin/convert-ranges
bin/convert-geoip
@@ -8,9 +7,11 @@ etc/0W-httpd/countries
etc/0W-httpd/countries.ips
etc/0W-httpd/countries.rus
etc/0W-httpd/httpd.conf.sample
-etc/rc.d/0W-httpd.sh
+@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/pids
+@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/data
+@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/logs
@dirrm etc/0W-httpd/
@dirrm 0W-httpd/pids
@dirrm 0W-httpd/data
-@unexec rm -fr %D/0W-httpd/logs/ > /dev/null 2>&1 || true
-@dirrm 0W-httpd/
+@unexec rm -fr %D/0W-httpd/logs > /dev/null 2>&1 || true
+@dirrm 0W-httpd