【Linux】systemdユーザー向けSysV使い方
このコミットが含まれているのは:
コミット
c7a31190f8
|
@ -0,0 +1,16 @@
|
|||
title: 【Linux】systemdユーザー向けSysV使い方
|
||||
author: 凛
|
||||
date: 2022-11-15
|
||||
tags: blog,jp,linux,bsd,server
|
||||
----
|
||||
|
||||
コマンド | SysV | systemd
|
||||
-- | -- | --
|
||||
サービスの有効化 | chkconfig <サービス名> on | systemctl enable <サービス名>
|
||||
サービスの無効化 | chkconfig <サービス名> off | systemctl disable <サービス名>
|
||||
サービスが有無の確認 | chkconfig <サービス名> | systemctl is-enabled <サービス名>
|
||||
サービスの起動 | service <サービス名> start | systemctl start <サービス名>
|
||||
サービスの終了 | service <サービス名> stop | systemctl stop <サービス名>
|
||||
サービスの再起動 | service <サービス名> restart | systemctl restart <サービス名>
|
||||
サービスの状況の確認 | service <サービス名> status | systemctl status <サービス名>
|
||||
サービスの有効済みスクリプト一覧 | chkconfig --list | systemctl list-unit-files --type=service
|
読み込み中…
新しいイシューから参照