Frequent Question: How Do I Mask a Service in Linux?
Contents How Do I Unmask a Service in Linux? Use the Systemctl Unmask Command to Unmask the Service Unit. [[Email Protected] ~]# Systemctl Unmask Sendmail...
Contents
How do I unmask a service in Linux?
Use the systemctl unmask command to unmask the service unit. [[email protected] ~]# systemctl unmask sendmail Removed /etc/systemd/system/sendmail. service. Note: A disabled service can be started manually or by other unit files but it does not start automatically at boot.
Must Read
What does masking a service do in Linux?
Masking a service prevents the service from being started manually or automatically. For this example, systemctl is creating a symlink from /etc/systemd/system/sshd. service to /dev/null . Targets in /etc/systemd override those provided by packages in /lib/systemd .