summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-intel/chassis/intel-chassis-control/obmc-send-signal-post-host-stop@.service
blob: 90007dbf25d26757fa4dd0f0f4f6a348624ba166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Broadcast post 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.PostHostStop"
SyslogIdentifier=posthoststopsignal

[Install]
WantedBy=obmc-host-stopped@%i.target