mirror of
https://github.com/YunoHost-Apps/couchpotato_ynh.git
synced 2024-09-03 18:16:22 +02:00
📦 rewrite
This commit is contained in:
parent
af6b58dcdb
commit
0416e373b9
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ app_host="$(sudo yunohost app setting ${app_id} host)"
|
||||||
# Make upgrade if localhost installation
|
# Make upgrade if localhost installation
|
||||||
if [[ $app_method == "LOCAL"* ]]; then
|
if [[ $app_method == "LOCAL"* ]]; then
|
||||||
|
|
||||||
# Kill App
|
# Kill app
|
||||||
sudo service $app_id stop
|
sudo service $app_id stop
|
||||||
sudo killall $app_id
|
sudo killall $app_id
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ if [[ $app_method == "LOCAL"* ]]; then
|
||||||
sudo chmod +x /etc/init.d/$app_id
|
sudo chmod +x /etc/init.d/$app_id
|
||||||
sudo chmod +x -R $app_install_dir
|
sudo chmod +x -R $app_install_dir
|
||||||
|
|
||||||
# Reload daemon
|
# Start service
|
||||||
sudo service $app_id start
|
sudo service $app_id start
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue