Ubuntu20.04查看开机自启动及其设置开机自启(设置rc.local)
Ubuntu systemctl 查看系统启动项列出所有启动项:sudo systemctl list-unit-files使用grep过滤一下开启的grep enabledsudo systemctl list-unit-files | grep enabled查看.service文件的路径,及内容sudo systemctl status openresty.service禁用开机启动:sudo systemctl disable nginx.service停止已经开启的
原创
2021-11-06 18:18:27 ·
35699 阅读 ·
3 评论