Personal tools
You are here: Home Hardware Raspberry Pi 3 Disable unwanted Raspbian Services

Disable unwanted Raspbian Services

Notes on reducing unwated services on a Raspbian (Jessie - v8) based Rapberry Pi 3.


Disable loading wireless drivers

Disable loading the drivers for bluetooth and WiFi. As well as reducing the number of interfaces it may reduce power usage.

# cat > /etc/modprobe.d/raspi-blacklist.conf <<EOF

# WiFi
blacklist brcmfmac
blacklist brcmutil

# Bluetooth
blacklist btbcm
blacklist hci_uart

Disable bluetooth

The bluetooth service is not required

# systemctl disable bluetooth
# systemctl stop bluetooth

Disable avahi

The Pi is going to use simple uni-cast DNS - multi-cast DNS support is not required.

# systemctl disable avahi-daemon
# systemctl stop avahi-daemon

Disable TriggerHappy

The Pi isn't being used with button. Disable the TriggerHappy daemon (not that it is a init.d service)

# systemctl disable triggerhappy
# systemctl stop triggerhappy 




After shutting down unwated services pstree shows

  • dhcpd (wired LAN)
  • ntp
        │          ├─{in:imuxsock}
        │          └─{rs:main Q:Reg}


Document Actions