blob: ec6f453cdf33a3ac1e5accb2dac7824a54dd8299 [file] [log] [blame]
[Unit]
Description=Broadcast pre host stop signal to dbus
Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service
After=mapper-wait@-xyz-openbmc_project-state-host%i.service
[Service]
Restart=no
Type=oneshot
ExecStart=/bin/sh -c "dbus-send --system --type=signal /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host.PreHostStop"
SyslogIdentifier=prehoststopsignal
[Install]
WantedBy=obmc-host-stop-pre@%i.target