blob: 90007dbf25d26757fa4dd0f0f4f6a348624ba166 [file] [log] [blame]
Kuiying Wangc8153bc2018-11-09 16:34:33 +08001[Unit]
2Description=Broadcast post host stop signal to dbus
3Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service
4After=mapper-wait@-xyz-openbmc_project-state-host%i.service
5
6[Service]
7Restart=no
8Type=oneshot
9ExecStart=/bin/sh -c "dbus-send --system --type=signal /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host.PostHostStop"
10SyslogIdentifier=posthoststopsignal
11
12[Install]
13WantedBy=obmc-host-stopped@%i.target