diff --git a/install.sh b/install.sh index 04fe2b0..03e9afb 100644 --- a/install.sh +++ b/install.sh @@ -41,6 +41,9 @@ chown -R $USERNAME:$NGINXGROUP $CURRENTDIR echo "Installing nginx config to /etc/nginx/conf.d" cp paste.conf /etc/nginx/conf.d/paste.conf +echo "Adding nginx group to user" +usermod -a -G $USERNAME $NGINXGROUP + echo "Starting paste service" systemctl daemon-reload systemctl start paste.service