在systemd中禁用init.d脚本
我在raspbian安装中将init系统从sysvinit更改为systemd。安装可以正常启动,但是现在在启动时启动lightdm。我不希望它那样做。 我注意到lightdm.service启动时已启动。通过以下方式停止服务 systemctl stop lightdm.service 工作良好。 systemctl disable lightdm.service 应该禁用它,但是给我 Failed to issue method call: No such file or directory systemctl status lightdm.service 给我 lightdm.service - LSB: Light Display Manager Loaded: loaded (/etc/init.d/lightdm) Active: inactive (dead) since Thu, 03 Jul 2014 09:33:00 +0000; 22min ago Process: 762 ExecStop=/etc/init.d/lightdm stop (code=exited, …