Remove Beaglebone Black services permanently

dcr picture dcr · Jul 9, 2014 · Viewed 8.8k times · Source

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?

Answer

nhattan.khtn picture nhattan.khtn · Jul 15, 2014

Try it:

in your terminal, type

ls /lib/systemd/system

if your service files are there, just delete them.