From 6cf47739ac1e7bfd221df90bd4d52dd5b3c03943 Mon Sep 17 00:00:00 2001 From: frju365 Date: Fri, 11 May 2018 11:46:21 +0200 Subject: [PATCH] Update install --- 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