From 0416e373b94d0725537972280781683206596e54 Mon Sep 17 00:00:00 2001 From: Snipees Date: Sat, 5 Sep 2015 17:52:47 +0200 Subject: [PATCH] :package: rewrite --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 74dc202..e771821 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -24,7 +24,7 @@ app_host="$(sudo yunohost app setting ${app_id} host)" # Make upgrade if localhost installation if [[ $app_method == "LOCAL"* ]]; then - # Kill App + # Kill app sudo service $app_id stop sudo killall $app_id @@ -47,7 +47,7 @@ if [[ $app_method == "LOCAL"* ]]; then sudo chmod +x /etc/init.d/$app_id sudo chmod +x -R $app_install_dir - # Reload daemon + # Start service sudo service $app_id start fi