Translate

Image of Operating System Concepts
Image of Android Wireless Application Development
Image of Linux Kernel Development (3rd Edition)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)

Mask V Disable a Systemd Service Unit

In the systemd world, you should be aware of the difference between disabling and masking a service unit. To prevent a service unit that corresponds to a system service from being automatically started at boot time: # systemctl disable name.service When invoked systemd reads the [Install] section of the selected service unit and removes the appropriate symbolic link. In RHEL7, for example, the symbolic link would be to the /usr/lib/systemd/system/name.service file from the /usr/lib/systemd/system/ directory. Every service unit that is known to systemd may be started if it is needed – even if it is disabled. To explicitly tell systemd