diff --git a/scripts/install b/scripts/install index 781f468..cd4ee5c 100755 --- a/scripts/install +++ b/scripts/install @@ -79,6 +79,7 @@ ynh_add_systemd_config # Use logrotate to manage application logfile(s) ynh_use_logrotate + #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= @@ -96,6 +97,7 @@ ynh_script_progression --message="Launching cjdns service..." --weight=1 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" ynh_script_progression --message="Your cjdns IPv6: $cjdns_ipv6" --weight=1 + #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/remove b/scripts/remove index 9d93abc..f6ffecb 100755 --- a/scripts/remove +++ b/scripts/remove @@ -17,8 +17,6 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 -# This should be a symetric version of what happens in the install script - # 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 @@ -38,6 +36,7 @@ killall cjdroute # Remove other various files specific to the app... such as : ynh_secure_remove --file="/var/log/$app" ynh_secure_remove --file="$install_dir" + #================================================= # END OF SCRIPT #=================================================