summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-greatlakes/recipes-greatlakes/greatlakes-sysinit/files/greatlakes-system-state-init@.service
blob: 30e02799c7c27fd72a533c4972f2e351c5c77c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Greatlakes host state and chassis power state initialize for slot%i
Before=phosphor-multi-gpio-monitor.service
Wants=xyz.openbmc_project.State.Chassis@%i.service
After=xyz.openbmc_project.State.Chassis@%i.service
Wants=xyz.openbmc_project.State.Host@%i.service
After=xyz.openbmc_project.State.Host@%i.service

[Service]
ExecStart=/usr/libexec/greatlakes-sysinit/greatlakes-system-state-init %i
SyslogIdentifier=greatlakes-system-state-init slot%i
Type=oneshot

[Install]
WantedBy=sysinit.target