On 06/16/2015 12:02 AM, David Sommerseth wrote:
On 16 June 2015 07:52:05 CEST, ToddAndMargo <[email protected]> wrote:
Hi All,

What is the difference between these two commands?

     # systemctl disable firewalld.service

This avoids the firewalld.service unit to be automatically started during boot. 
The service may still be started using 'systemctl start ....' or if a service 
uses socket activation it will also start automatically.

     # systemctl mask firewalld

This will completely disable the service and it cannot be started by systemd at 
all, no matter which approach is used.  (Well, you may use iptables-restore or 
iptables commands directly, but that is outside of systemd's control.)


--
kind regards,

David Sommerseth


Thank you!

Reply via email to