From 6ae91a3c43bb212d6170071d7f05047d202c7c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Fri, 18 Nov 2022 12:46:12 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=90OpenBSD=E3=80=91systemd=E3=83=A6?= =?UTF-8?q?=E3=83=BC=E3=82=B6=E3=83=BC=E5=90=91=E3=81=91rc.d=E4=BD=BF?= =?UTF-8?q?=E3=81=84=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/blog/rcd-for-systemd-user/index.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/blog/rcd-for-systemd-user/index.md diff --git a/src/blog/rcd-for-systemd-user/index.md b/src/blog/rcd-for-systemd-user/index.md new file mode 100644 index 0000000..23d6819 --- /dev/null +++ b/src/blog/rcd-for-systemd-user/index.md @@ -0,0 +1,16 @@ +title: 【OpenBSD】systemdユーザー向けrc.d使い方 +author: 凛 +date: 2022-11-17 +tags: blog,jp,linux,bsd,server +---- + +コマンド | rc.d | systemd +-- | -- | -- +サービスの有効化 | rcctl enable <サービス名> | systemctl enable <サービス名> +サービスの無効化 | rcctl disable <サービス名> | systemctl disable <サービス名> +サービスが有無の確認 | rcctl ls on | grep <サービス名> | systemctl is-enabled <サービス名> +サービスの起動 | rcctl start <サービス名> | systemctl start <サービス名> +サービスの終了 | rcctl stop <サービス名> | systemctl stop <サービス名> +サービスの再起動 | rcctl restart <サービス名> | systemctl restart <サービス名> +サービスの状況の確認 | rcctl check <サービス名> | systemctl status <サービス名> +サービスの有効済みスクリプト一覧 | rcctl ls on | systemctl list-unit-files --type=service