ページの作成:「==オプション== ;-t :表示するユニットのタイプを指定 ==サブコマンド== ;list-units :アクティブなユニットを全て表示 (-aオプショ…」
 
 
(同じ利用者による、間の4版が非表示)
2行目: 2行目:
;-t
;-t
:表示するユニットのタイプを指定
:表示するユニットのタイプを指定
$ systemctl -t service
$ systemctl -t socket
$ sudo systemctl stop rpcbind.socket


==サブコマンド==
==サブコマンド==
8行目: 12行目:
;get-default
;get-default
:デフォルトの起動ターゲットを表示
:デフォルトの起動ターゲットを表示
;set-default
:デフォルトの起動ターゲットを変更
# systemctl set-default rescure.target
# ssytemctl isolate rescure.target
# ls -s /lib/systemd/system/rescure.target /etc/systemd/system/default.target

2019年3月8日 (金) 23:52時点における最新版

オプション

-t
表示するユニットのタイプを指定
$ systemctl -t service
$ systemctl -t socket
$ sudo systemctl stop rpcbind.socket

サブコマンド

list-units
アクティブなユニットを全て表示 (-aオプションで非アクティブも表示)
get-default
デフォルトの起動ターゲットを表示
set-default
デフォルトの起動ターゲットを変更
# systemctl set-default rescure.target
# ssytemctl isolate rescure.target
# ls -s /lib/systemd/system/rescure.target /etc/systemd/system/default.target