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 件のコメント:

コメントを投稿

Chatの「メッセージは投稿者によって削除されました」を非表示にする方法

Chrome拡張機能を自作してやってみよう! ♪できるかな できるかな ・・・ 無理ぽ (´・ω・`) iframeの中に、実際のメッセージのやり取りが表示されるので、 $(function(){ $('iframe[name^="spa...