How to start service on boot with RHEL 8 Linux - LinuxConfig.org

On Systemd Linux systems such as RHEL 8 it is possible to enable and disable services to start on boot with a single systemctl command.


This is a companion discussion topic for the original entry at https://linuxconfig.org/redhat-8-start-service-on-boot

hi @Lubos ,
I tried setting up service on rhel8 under /etc/systemd/system
cd /etc/systemd/system
created symbolic link to service: sudo ln -s /apps/xyz/abc.service /etc/systemd/system/abc.service
but running systemctl start abc.service , gives error : Failed to start abc.service: Unit abc.service not found.
Why is systemctl not able to find service defined in this directory(/etc/systemd/system) ?