Stoop and Disable a service using Systemd
First we check to see if the service is active or not using Systemd's systemctl command like this
systemctl status is-active bluetooth
You will get an output like this
Now that we see the "Bluetooth" service is running we will try and stop it.
systemctl stop bluetooth
Notice the part inside the black box I highlited it specifically says inactive [dead] because the service has been shut down. It will still restart with the system on a reboot if you had set it to enable before so for you to totally disable the bluetooth service to never start again you would need to use the "disable" option not the stop option. Lets go ahead and do that now!
systemctl disable bluetooth
Now look at the part of the text in black it says it's disabled fully. So now on your next boot of the system it should not load up again and you will no longer have to keep stopping or disabling it upon reboot.
0 comments:
Post a Comment