Jun 19, 2021

systemctl chkconfig - Enable/Disable service on boot


chkconfig --list httpd

chkconfig --list varnish

(or)

systemctl list-unit-files | grep httpd

systemctl list-unit-files | grep varnish



systemctl is-active httpd

systemctl is-active varnish


Enable on boot

  • chkconfig httpd on

Disable on boot

  • chkconfig httpd off

No comments:

Post a Comment