summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/host/obmc-op-control-host/op-init-pnor@.service
blob: 26a0343f17f8791bfef67ed1b0d28eec7fb4ca63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Init PNOR for Host%i
After=obmc-power-on@%i.target
Before=obmc-host-start-pre@%i.target
Conflicts=obmc-host-stop@%i.target
ConditionPathExists=!/run/openbmc/host@%i-on

[Service]
Type=oneshot
RemainAfterExit=yes
# TODO openbmc/openbmc#1598 - Delete this service once available
ExecStart=/usr/bin/env pflash -i
SyslogIdentifier=pflash

[Install]
WantedBy=obmc-host-start@%i.target
OpenPOWER on IntegriCloud