diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | config.def.mk | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -149,6 +149,8 @@ install: printf "\nInstalling $(WWWDOMAIN).conf into $(NGINXCONFDIR)\n";\ install -Dm644 $(WWWDOMAIN).conf -t $(DESTDIR)$(NGINXCONFDIR);\ fi + chown $(WWWUSER):$(WWWUSER) -R $(DESTDIR)$(PREFIX)/gpigeon || exit 1; + chown $(WWWUSER):$(WWWUSER) -R $(DESTDIR)$(WWWPREFIX)/gpigeon || exit 1; nginxconf: nginx-example.conf @sed -e 's|wwwpath_goes_here|$(WWWPREFIX)|g;s|domain_goes_here|$(WWWDOMAIN)|g' nginx-example.conf > $(WWWDOMAIN).conf ;\ diff --git a/config.def.mk b/config.def.mk index 7ff7d0c..b02f14f 100644 --- a/config.def.mk +++ b/config.def.mk @@ -8,6 +8,9 @@ LINK_TEMPLATE_PATH = $(PREFIX)/link-tmpl.cgi WWWPREFIX = /var/www GPIGEON_PATH = $(WWWPREFIX)/cgi-bin/gpigeon.cgi +# system stuff +WEBUSER=www-data #it must match up with your nginx user. For ex. on arch it's 'http' + # CGI tuning stuff MSG_FORM_CHAR_LIMIT = 3000 |