1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/incus_ynh.git synced 2024-09-03 19:26:15 +02:00
incus_ynh/scripts/remove
Éric Gaspar 6ceb6e7862 cleaning
2024-07-20 22:35:33 +02:00

29 lines
802 B
Bash

#!/bin/bash
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# REMOVE SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..."
yunohost service remove "$app"
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/incus/incusd.log"
ynh_remove_logrotate
_ynh_remove_dnsmasq_config
_ynh_remove_subuid_subgid
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Removal of $app completed" --last