mirror of
https://github.com/YunoHost-Apps/owntracks_ynh.git
synced 2024-09-03 19:56:24 +02:00
25 lines
638 B
Bash
25 lines
638 B
Bash
#!/bin/bash
|
|
|
|
source _common.sh
|
|
source /usr/share/yunohost/helpers
|
|
|
|
#=================================================
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
|
#=================================================
|
|
ynh_script_progression "Removing system configurations related to $app..."
|
|
|
|
# Remove the dedicated nginx config
|
|
ynh_config_remove_nginx
|
|
|
|
# Remove NodeJS
|
|
ynh_nodejs_remove
|
|
|
|
# Remove service
|
|
ynh_systemctl --service="$app" --action="stop"
|
|
yunohost service remove "$app"
|
|
|
|
#=================================================
|
|
# END OF SCRIPT
|
|
#=================================================
|
|
|
|
ynh_script_progression "Removal of $app completed"
|