ubuntu18.04设置开机自启动(systemd)
Ubuntu-18 开机自动启动自定义程序
Ubuntu开机启动自定义服务
在 /etc/systemd/system/ 下
#查看ubuntu开机启动项
systemctl list-unit-files --type=service|grep enabled
#禁用掉该服务
sudo systemctl disable apache2.service
#查看开机启动的service
cd /etc/systemd/system