mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
* Testing (#207) * Fix hook (#206) * Auto-update READMEs * fix hook --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml (#208) * Update manifest.toml * Auto-update READMEs * Add parameters.yml (#209) * Add parameters.yml * Update upgrade * Update change_url * Function (#210) * Add parameters.yml * Update upgrade * add function --------- Co-authored-by: Kayou <pierre@kayou.io> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Auto-update READMEs * [autopatch] Automatic patch attempt for helpers 2.1 * cleaning --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: Kayou <pierre@kayou.io> Co-authored-by: Yunohost-Bot <>
31 lines
838 B
Bash
31 lines
838 B
Bash
#!/bin/bash
|
|
|
|
#=================================================
|
|
# IMPORT GENERIC HELPERS
|
|
#=================================================
|
|
|
|
source _common.sh
|
|
source /usr/share/yunohost/helpers
|
|
|
|
#=================================================
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
|
#=================================================
|
|
ynh_script_progression "Removing system configurations related to $app..."
|
|
|
|
# Remove the app-specific logrotate config
|
|
ynh_config_remove_logrotate
|
|
|
|
# Remove the dedicated NGINX config
|
|
ynh_config_remove_nginx
|
|
|
|
# Remove the dedicated PHP-FPM config
|
|
ynh_config_remove_phpfpm
|
|
|
|
# Remove the dedicated Fail2Ban config
|
|
ynh_config_remove_fail2ban
|
|
|
|
#=================================================
|
|
# END OF SCRIPT
|
|
#=================================================
|
|
|
|
ynh_script_progression "Removal of $app completed"
|