From 2bad90ebdd829e4dd1ae76cfb31d1d3c7a708c68 Mon Sep 17 00:00:00 2001 From: frju365 Date: Fri, 11 May 2018 12:09:44 +0200 Subject: [PATCH] Update install (#9) --- scripts/install | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index c37903a..20cd531 100644 --- a/scripts/install +++ b/scripts/install @@ -132,9 +132,10 @@ popd # Configure init script #================================================= -sudo systemctl daemon-reload -sudo systemctl enable "$app".service -sudo systemctl start "$app".service +systemctl daemon-reload +systemctl enable "$app".service +systemctl start "$app".service +systemctl status $app #================================================= # SETUP LOGROTATE @@ -169,3 +170,4 @@ fi #================================================= systemctl reload nginx +cat /etc/nginx/conf.d/$domain.conf.d/$app.conf