mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-09 08:18:02 +02:00
Expose the daemon as 'org.freedesktop.UPower.PowerProfiles' by default but we also own the old 'net.hadess.PowerProfiles' name for compatibility resons. Also dbus objects are now registered also in the path /org/freedesktop/UPower/PowerProfiles and they implement the org.freedesktop.UPower.PowerProfiles interface. Even in this case we preserve the compatibility with the old ones. To make this switch as most reliable as possible, the code is now generated for dbus configuration files preserving the previous ones as base. Tests are now performed checking both names, to ensure again that we're not breaking the expectations for the old APIs consumers.
11 lines
336 B
SYSTEMD
11 lines
336 B
SYSTEMD
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License version 3 as published by
|
|
# the Free Software Foundation.
|
|
|
|
[D-BUS Service]
|
|
Name=@dbus_name@
|
|
Exec=/bin/false
|
|
User=root
|
|
SystemdService=power-profiles-daemon.service
|