Remove Beaglebone Black services permanently

2020-07-13 09:39发布

How do I permanently remove cloud9, bonescript, gateone, etc., from the BeagleBone Black Debian (wheezy) distribution? I can disable them with these commands:

systemctl disable cloud9.service
systemctl disable gateone.service
systemctl disable bonescript.service
systemctl disable bonescript.socket
systemctl disable bonescript-autorun.service
systemctl disable avahi-daemon.service
systemctl disable gdm.service
systemctl disable mpd.service

And the disabling survives a reboot, but sometimes when I install a package, some systemd trigger will re-enable them. How can I permanently remove them?

2条回答
唯我独甜
2楼-- · 2020-07-13 09:48

Try it:

in your terminal, type

ls /lib/systemd/system

if your service files are there, just delete them.

查看更多
Lonely孤独者°
3楼-- · 2020-07-13 09:56

As the Cloud9 IDE is built on node (which I did not need) I got rid av the whole shebang using:

sudo apt-get remove nodejs

查看更多
登录 后发表回答