mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-24 00:28:14 +02:00
This makes dbus defer starting upowerd to systemd instead of doing it itself and thus puts the daemon under proper systemd supervision. Signed-off-by: Richard Hughes <richard@hughsie.com>
14 lines
400 B
SYSTEMD
14 lines
400 B
SYSTEMD
[Unit]
|
|
Description=Daemon for power management
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.freedesktop.UPower
|
|
ExecStart=@libexecdir@/upowerd
|
|
|
|
[Install]
|
|
# We pull this in by graphical.target instead of waiting for the bus
|
|
# activation, to speed things up a little: gdm uses this anyway so it is nice
|
|
# if it is already around when gdm wants to use it and doesn't have to wait for
|
|
# it.
|
|
WantedBy=graphical.target
|