1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/taskboard_ynh.git synced 2024-09-03 20:26:27 +02:00
This commit is contained in:
Éric Gaspar 2023-01-17 09:40:35 +01:00
parent 8f55557439
commit b646411f96
4 changed files with 0 additions and 34 deletions

View file

@ -109,13 +109,6 @@ ynh_add_config --template="../conf/Mailer.php" --destination="$final_path/api/he
chmod 400 "$final_path/api/helpers/Mailer.php"
chown $app:$app "$final_path/api/helpers/Mailer.php"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="Kanban for keeping track of things" --log="/var/log/$app/$app.log"
#=================================================
# SETUP SSOWAT
#=================================================

View file

@ -19,19 +19,6 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE SERVICE INTEGRATION IN YUNOHOST
#=================================================
# Remove the service from the list of services known by Yunohost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status $app >/dev/null
then
ynh_script_progression --message="Removing $app service integration..." --weight=1
yunohost service remove $app
fi
#=================================================
# REMOVE DEPENDENCIES
#=================================================

View file

@ -82,13 +82,6 @@ ynh_script_progression --message="Restoring the NGINX configuration..." --weight
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="Kanban for keeping track of things" --log="/var/log/$app/$app.log"
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -134,13 +134,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="Kanban for keeping track of things" --log="/var/log/$app/$app.log"
#=================================================
# RELOAD NGINX
#=================================================