Using CentOS7

サービス

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

chkconfig

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

service

サービスの起動や停止

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

systemctl list-unit-files -t service

サービス一覧の表示

systemctl enable sshd.service

サービスの登録

systemctl status sshd

サービスのステータス

systemctl start sshd.service

サービスの起動

UsingCentOs7 (最終更新日時 2018-12-03 12:18:26 更新者 TakanoriKono)