mirror of
https://github.com/YunoHost-Apps/glowingbear_ynh.git
synced 2024-09-03 18:36:20 +02:00
commit
d3810aa8ae
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
||||||
"email": "jodeko@riseup.net"
|
"email": "jodeko@riseup.net"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">> 2.4.0"
|
"yunohost": ">> 2.6.4"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -9,8 +9,8 @@ main() {
|
||||||
local deploy_path=$(ynh_app_setting_get $app deploy_path)
|
local deploy_path=$(ynh_app_setting_get $app deploy_path)
|
||||||
local nginx_conf="/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
local nginx_conf="/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
||||||
|
|
||||||
sudo rm -rf $deploy_path
|
ynh_secure_remove $deploy_path
|
||||||
sudo rm -f $nginx_conf
|
ynh_secure_remove $nginx_conf
|
||||||
|
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue