レス
元トピ
タイトル
Re: ID;23176
フォーラム
最強WEB問題集LinuC/LPIC Lv1 101
投稿ユーザ(投稿日)
(2020/7/11)
本文
httpd.serviceの定義ではWantedBy=multi-user.targetなので、httpdが自動起動するのはおっしゃる通りmulti-user.targetです。
rescue.targetはシングルユーザモードで、必要最低限のサービスしか起動しないです。
https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-targets#sect-Managing_Services_with_systemd-Targets-Rescue

rescue.targetで起動時は/lib/systemd/system/rescue.target.wantsのユニットが起動されます。

あと、systemd.unit=rescue.targetはコマンドではなくカーネルパラメータですね。

レス一覧

元トピ


Ping-tモバイルTOP

Copyright (c) 2010
Ping-t All rights reserved.