Linux Services task failed but i did correct

Hi Team,

Yesterday below task is assigned to me. i installed squid package in app servers and enabled app servers also. please find below commands i ran in all app servers.
1 sudo yum install squid -y
2 sudo systemctl start squid
3 sudo systemctl status squid
image

But my task failed with error squid is not enabled on App Server 1 but squid is enabled in app server 1.

image

please let me know what i did incorrectly in this task.

There you have the answer ( squid is not enabled)
When you run “sudo systemctl enable squid” you create a symlink to the resources, so th system boots with this service included in its list.

After start command also give enable command. You can check this tutorial: Linux Services KodeKloud Task