我对 lighttpd 配置文件做了一些更改,并想强制重新加载,但更改没有反映出来。我尝试停止并启动它,但仍然没有效果。然后我尝试简单地停止它。同样,没有效果,服务器仍在运行并提供网页。我不知所措......
root@webserver:/etc/lighttpd# /etc/init.d/lighttpd force-reload
[ ok ] Reloading lighttpd configuration (via systemctl): lighttpd.service.
root@webserver:/etc/lighttpd# /etc/init.d/lighttpd stop
[ ok ] Stopping lighttpd (via systemctl): lighttpd.service.
root@webserver:/etc/lighttpd# ps aux | grep light
www-data 20600 0.0 0.7 61772 3580 ? S Nov03 1:52 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
root 25874 0.0 0.3 12656 1624 pts/0 S+ 17:04 0:00 grep light
root@webserver:/etc/lighttpd# /etc/init.d/lighttpd start
[ ok ] Starting lighttpd (via systemctl): lighttpd.service.
root@webserver:/etc/lighttpd# /etc/init.d/lighttpd restart
[ ok ] Restarting lighttpd (via systemctl): lighttpd.service.
root@webserver:/etc/lighttpd#