remove 790 B

123456789101112131415161718192021222324252627282930
  1. #!/bin/bash
  2. #=================================================
  3. # IMPORT GENERIC HELPERS
  4. #=================================================
  5. source _common.sh
  6. source /usr/share/yunohost/helpers
  7. #=================================================
  8. # REMOVE SYSTEM CONFIGURATION
  9. #=================================================
  10. ynh_script_progression "Removing system configurations related to $app..."
  11. if ynh_hide_warnings yunohost service status "$app" >/dev/null; then
  12. yunohost service remove "$app"
  13. fi
  14. ynh_config_remove_systemd
  15. #ynh_config_remove_fail2ban
  16. ynh_config_remove_logrotate
  17. ynh_config_remove_nginx
  18. #=================================================
  19. # END OF SCRIPT
  20. #=================================================
  21. ynh_script_progression "Removal of $app completed"