自動起動確認

systemctl list-unit-files -t service

postfixの場合

systemctl list-unit-files -t service | grep postfix

httpdの場合

systemctl list-unit-files -t service | grep httpd

 

bind自動起動確認

systemctl list-unit-files -t service | grep named

systemctl list-unit-files -t service | grep named-chroot.service

bind自動起動有効

systemctl enable named-chroot.service

bind自動起動無効

systemctl disable named-chroot.service

 

自動起動設定

systemctl enable httpd.service

 

自動起動解除

systemctl disable httpd.service

 

Twitterでフォローしよう