From c9f0fb833847684ac8f9e426639682c879de0a8f Mon Sep 17 00:00:00 2001 From: benjamyn Date: Wed, 20 Feb 2019 22:36:10 +1100 Subject: [PATCH] Added service stuff --- intsall.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/intsall.sh b/intsall.sh index fc4fb03..226cb14 100644 --- a/intsall.sh +++ b/intsall.sh @@ -39,4 +39,12 @@ echo "Setting permissions on the files" chmod -R $USERNAME:$NGINXGROUP $CURRENTDIR echo "Installing nginx config to /etc/nginx/conf.d" -cp paste.conf /etc/nginx/conf.d/paste.conf \ No newline at end of file +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 :)" \ No newline at end of file