1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/squid3_ynh.git synced 2024-09-03 20:26:11 +02:00

Inconsistent service naming between 'ynh_systemd_action' and 'yunohost service add'

This commit is contained in:
Alexandre Aubin 2022-08-15 19:17:17 +02:00 committed by GitHub
parent 4baba9b43e
commit a5d1d83e0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,10 +26,10 @@ squid=$(ynh_app_setting_get --app=$app --key=squid_folder)
#=================================================
# 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
if ynh_exec_warn_less yunohost service status $squid >/dev/null
then
ynh_script_progression --message="Removing $app service integration..."
yunohost service remove $app
yunohost service remove $squid
fi
#=================================================