Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
27
Help us understand the problem. What is going on with this article?
@sayama0402

CentOS7の自動起動設定

More than 1 year has passed since last update.
$ 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 サービス名

27
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
sayama0402
Javascript(Riot.js / Vue / React / Nodejs) / PHP(Wordpress, cakePHP, Laravel) / Ruby(Ruby on Rails) / Python(Django) / Go / SQL / Linux / Swift / Docker / AWS / Serverless

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
27
Help us understand the problem. What is going on with this article?