2016-02-16

systemctl と chkconfig と service の使い方まとめ

サービス一覧
# chkconfig --list

# systemctl list-unit-files -t service


自動起動設定
# chkconfig hoge on

# systemctl enable hoge.service


自動起動解除
# chkconfig hoge off

# systemctl disable hoge.service


サービス起動
# service hoge start

# systemctl start hoge.service


サービス状態確認
# service hoge status

# systemctl status hoge.service


サービス停止
# service hoge stop

# systemctl stop hoge.service

0 件のコメント:

コメントを投稿

Toとccの使い分け

 入社3年目の女性社員がメールを書いていた。 Toに10人ぐらい入っていた。 メール本文の宛名は2名。 「このメールは、Toに宛名の2名、あとはccに入れて送るのが基本」 って教えたけど 「え、Outlookでアドレスグループ作って宛名に入れると、全部展開されてこうなるんですけど...