1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/systemd/user/blueman-applet.service
Joe Groocock 39d5f2a370
systemd: require sys/class/bluetooth for blueman-applet
This should prevent the unit from failing when there is no bluetooth
device in the system.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-18 13:53:16 +01:00

14 lines
253 B
Desktop File

[Unit]
Description=Bluetooth Applet
After=graphical-session.target
Requires=graphical-session.target
ConditionPathExists=/sys/class/bluetooth
[Service]
Type=simple
ExecStart=/usr/bin/blueman-applet
Restart=on-failure
[Install]
WantedBy=desktop.target