CentOSのはsystemctlの指揮します
systemctlブートするかどうか* .serviceの#クエリを、有効になっています
* .service#がサービスの実行を開始可能systemctl
systemctl無効* .service#がオンにキャンセル
#サービス開始.service *開始systemctl
サービスのうちsystemctl停止* .serviceの#
systemctl再起動* .service#がサービスを再起動します
systemctlリロード* .serviceの#リロードサービスプロファイル
状態を実行しているsystemctl状態* .service番号照会サービス
systemctlは#ショーのサービスを開始できませんでした--failed
CentOS6のサービスでsystemctl使用中のCentOS7差
転載 https://blog.csdn.net/weixin_41909810/article/details/82775247
また、CentOSの7 serviceコマンド。
ファイアウォールでそれを置き換える7.xのキャンセルはiptablesでCentOSに、。次のコマンドを使用してファイアウォールを無効スタートアップサービスをオフにするには:
systemctl stop firewalld.service
systemctl disable firewalld.service