Using CentOS7

サービス

SLC6等では以下のものを使えていた。

chkconfig

サービスの有効化、リスト

service

サービスの起動や停止

新たにsystemctlコマンドが導入された。

systemctl list-unit-files -t service

サービス一覧の表示

systemctl enable sshd.service

サービスの登録

systemctl status sshd

サービスのステータス

systemctl start sshd.service

サービスの起動