1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/systemd/user/networkmanager-applet.service
Joe Groocock 21f7a2b75c
systemd: nm-applet requires NetworkManger to run
Require NetworkManager tmp files before attempting to start nm-applet,
else it will fail to start if NetworkManager is not actually running.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 02:22:04 +01:00

15 lines
298 B
Desktop File

[Unit]
Description=NetworkManager Applet
After=graphical-session.target NetworkManager.service
Requires=graphical-session.target
ConditionPathExists=/run/NetworkManager
[Service]
Type=simple
ExecStart=/usr/bin/nm-applet
Restart=on-failure
Slice=background.slice
[Install]
WantedBy=desktop.target