[systemd-devel] sigpwr.target - intended usage?

Christian Hofstaedtler ch at zeha.at
Sat Jul 16 15:22:18 UTC 2016


Hi,

I'm trying to understand how sigpwr.target is intended to be used,
but couldn't find a good explanation. systemd.special says this
target is invoked in a power fail situation, but what should happen
then?

Debian, Ubuntu and PLD install "sigpwr-container-shutdown.service",
which for ConditionVirtualization=container runs systemctl
--no-block poweroff, i.e. triggers a shutdown for containers. For
"normal" hardware, nothing appears to be triggered.

I could not find any services installed by Fedora or openSuSE, but
maybe I was looking in the wrong places.

I'm now somewhat assuming there should be a default "policy" service
that causes sigpwr.target to initiate a shutdown?

Pointers/hints on what is expected behaviour from sigpwr.target
would be highly appreciated.

Thanks,
-- 
christian hofstaedtler


More information about the systemd-devel mailing list