LoginSignup
26
29

More than 5 years have passed since last update.

CentOS7の自動起動設定

Posted at
$ chkconfig --list

うっかりCentOS7を使っていたことを忘れていた。

CentOS7での自動起動設定メモ

// 自動起動on
$ systemctl enable サービス名.service

// 自動起動off
$ systemctl disable サービス名.service

// 設定確認
$ systemctl list-unit-files -t service

大量に出力されるので、特定の設定を確認したいときはパイプに流す

// 設定確認
$ systemctl list-unit-files -t service | grep サービス名

26
29
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
26
29