systemctl enable service(服務名稱)
系統會跳出
httpd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig httpd on
確認是否有自動重啟成功
checonfig --list | grep "service"
有出現服務名稱代表成功嚕
systemctl enable service(服務名稱)
系統會跳出
httpd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig httpd on
確認是否有自動重啟成功
checonfig --list | grep "service"
有出現服務名稱代表成功嚕