【Linux】systemdユーザー向けOpenRC使い方

このコミットが含まれているのは:
守矢諏訪子 2022-11-12 11:57:58 +09:00
コミット 3dc6964c45
1個のファイルの変更15行の追加0行の削除

15
src/blog/openrc-for-systemd-user/index.md ノーマルファイル
ファイルの表示

@ -0,0 +1,15 @@
title: 【Linux】systemdユーザー向けOpenRC使い方
author: 凛
date: 2022-11-12
tags: blog,jp,linux,bsd,server
----
コマンド | OpenRC | systemd
-- | -- | --
サービスの有効化 | rc-update add <サービス名> /run/runit/service | systemctl enable <サービス名>
サービスの無効化 | rc-update del <サービス名> | systemctl disable <サービス名>
サービスの起動 | rc-service <サービス名> start | systemctl start <サービス名>
サービスの終了 | rc-service <サービス名> stop | systemctl stop <サービス名>
サービスの再起動 | rc-service <サービス名> restart | systemctl restart <サービス名>
サービスの状況の確認 | rc-service <サービス名> status | systemctl status <サービス名>
サービスの有効済みスクリプト一覧 | rc-update show | systemctl list-units