On 16 June 2015 07:52:05 CEST, ToddAndMargo <[log in to unmask]> 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