blob: 0f89f94a8d4fec21da9a5cc703c1e864e39b50be [file] [log] [blame]
Kuiying Wangc8153bc2018-11-09 16:34:33 +08001[Unit]
2Description=Broadcast host stopping 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.HostStoping"
10SyslogIdentifier=hoststoppingsignal
11
12[Install]
13WantedBy=obmc-host-stopping@%i.target