Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このガイドに従って lighty をセットアップしていますが、インストールされた lighttpd デーモン (これは /etc/init.d/lighttpd にあるものです) を実際には使用していません。仕事中以外は、Web サーバーを常に実行したくありません。必要なときに lighttpd -Df lighttpd.conf を呼び出したいだけです。
これを無効にするにはどうすればよいですか?
次のコマンドを使用して、起動時にlighttpdを無効にできます。
sudo update-rc.d -f lighttpd remove
これは、lighttpd起動スクリプトを次の場所から削除するスクリプトです。
/etc/rc0.d /etc/rc1.d /etc/rc2.d /etc/rc3.d /etc/rc4.d /etc/rc5.d /etc/rc6.d /etc/rcS.d
お役に立てば幸い