Closed snm247 closed 2 years ago
Same bug here. Squid works, but we can't strop service with administration YHost interface. How can I repair this ? (replace "squid3" by "squid" service?) Thanks you
I guess the bug is caused by this line in the install script:
yunohost service add $app --description "Squid3 a web proxy service" --log="/var/log/$squid/access.log" --needs_exposed_ports $squid_port
$app
is squid3
while the service (in my case) is named squid
.
Maybe it is sufficient to replace $app
with $squid
which is squid3
or squid
depending on the existence of /etc/squid3
or /etc/squid
?
@Flashpok I don't know how to replace squid3
with squid
in the admin interface. But you can stop the service with the following command:
systemctl stop squid.service
Fixed by https://github.com/YunoHost-Apps/squid3_ynh/commit/d4ca899dcbab2ee3400bfe159ea387fd430a13a9 and subsequent commits
Describe the bug
YunoHost diagnosis shows the following warning:
Context
Steps to reproduce
systemctl status
shows that there is asquid.service
(which is active and running) but nosquid3.service
.yunohost service status
has the following result forsquid3
(no result forsquid
):It seems YunoHost diagnosis checks the wrong service name.
Expected behavior
YunoHost diagnosis should check the correct service name.