Remove Beaglebone Black services permanently

2020-07-13 09:12发布

问题:

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?

回答1:

Try it:

in your terminal, type

ls /lib/systemd/system

if your service files are there, just delete them.



回答2:

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