Added service stuff
This commit is contained in:
parent
eafd1d9ae6
commit
c9f0fb8338
@ -40,3 +40,11 @@ chmod -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 "Starting paste service"
|
||||||
|
systemctl start paste.service
|
||||||
|
|
||||||
|
echo "Restarting nginx service"
|
||||||
|
systemctl restart nginx
|
||||||
|
|
||||||
|
echo "Done :)"
|
||||||
Loading…
x
Reference in New Issue
Block a user