[root@rhel71 ~]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: active (running) since Fri 2016-10-21 15:05:50 SGT; 6 days ago
Main PID: 1024 (firewalld)
CGroup: /system.slice/firewalld.service
└─1024 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
Oct 21 15:05:50 rhel71.local.com systemd[1]: Started firewalld - dynamic fir....
Hint: Some lines were ellipsized, use -l to show in full.
[root@rhel71 ~]# service firewalld stop
Redirecting to /bin/systemctl stop firewalld.service
[root@rhel71 ~]# service firewalld start
Redirecting to /bin/systemctl start firewalld.service
[root@rhel71 ~]# systemctl disable firewalld
rm '/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'
rm '/etc/systemd/system/basic.target.wants/firewalld.service'
[root@rhel71 ~]# systemctl enable firewalld
ln -s '/usr/lib/systemd/system/firewalld.service' '/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'
ln -s '/usr/lib/systemd/system/firewalld.service' '/etc/systemd/system/basic.target.wants/firewalld.service'
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment