Translate

Image of Linux Kernel Development (3rd Edition)
Image of Android Wireless Application Development
Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)
Image of Modern Operating Systems (3rd Edition)

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