Kuiying Wang | c8153bc | 2018-11-09 16:34:33 +0800 | [diff] [blame^] | 1 | [Unit] |
2 | Description=Broadcast host starting signal to dbus | ||||
3 | Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service | ||||
4 | After=mapper-wait@-xyz-openbmc_project-state-host%i.service | ||||
5 | |||||
6 | [Service] | ||||
7 | Restart=no | ||||
8 | Type=oneshot | ||||
9 | ExecStart=/bin/sh -c "dbus-send --system --type=signal /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host.HostStarting" | ||||
10 | SyslogIdentifier=hoststartingsignal | ||||
11 | |||||
12 | [Install] | ||||
13 | WantedBy=obmc-host-starting@%i.target |