- Add patch powerd-2.0.2-gcc14.patch * Make it build even with gcc14 OBS-URL: https://build.opensuse.org/request/show/1222173 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powerd?expand=0&rev=3
24 lines
545 B
Desktop File
24 lines
545 B
Desktop File
[Unit]
|
|
Description=Power Daemon
|
|
Documentation=man:powerd(8)
|
|
ConditionPathExists=/etc/powerd.conf
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
ProtectHostname=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Type=forking
|
|
PIDFile=/var/run/powerd.pid
|
|
ExecStart=/sbin/powerd
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|