This commit is contained in:
Benjamyn Love 2019-02-20 23:02:38 +11:00
parent 3c05906c20
commit dea3a844c0

View File

@ -41,6 +41,9 @@ chown -R $USERNAME:$NGINXGROUP $CURRENTDIR
echo "Installing nginx config to /etc/nginx/conf.d" echo "Installing nginx config to /etc/nginx/conf.d"
cp paste.conf /etc/nginx/conf.d/paste.conf cp paste.conf /etc/nginx/conf.d/paste.conf
echo "Adding nginx group to user"
usermod -a -G $USERNAME $NGINXGROUP
echo "Starting paste service" echo "Starting paste service"
systemctl daemon-reload systemctl daemon-reload
systemctl start paste.service systemctl start paste.service