查看全部运行的服务
systemctl list-units --type=service --state=running
关闭开机自启的服务
sudo systemctl disable orthanc.service
sudo systemctl disable orthanc.service
关机
wsl --shutdown
开机验证
wsl
systemctl list-units --type=service --state=running
标签:服务,service,--,sudo,wsl,state,systemctl,ubuntu,preview
From: https://www.cnblogs.com/guanchaoguo/p/18396777