first version

This commit is contained in:
2020-06-10 14:50:30 +02:00
commit 301fb8162e
5 changed files with 164 additions and 0 deletions

10
scripts/remove Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
source /usr/share/yunohost/helpers
app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get $app domain)
final_path=$(ynh_app_setting_get $app final_path)
ynh_secure_remove "$final_path"
ynh_remove_nginx_config