Added service stuff

This commit is contained in:
Benjamyn Love 2019-02-20 22:36:10 +11:00
parent eafd1d9ae6
commit c9f0fb8338

View File

@ -40,3 +40,11 @@ chmod -R $USERNAME:$NGINXGROUP $CURRENTDIR
echo "Installing nginx config to /etc/nginx/conf.d"
cp paste.conf /etc/nginx/conf.d/paste.conf
echo "Starting paste service"
systemctl start paste.service
echo "Restarting nginx service"
systemctl restart nginx
echo "Done :)"