summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/host/obmc-op-control-host/op-init-pnor@.service
blob: 5accb489931807548fb893fe27059c281f88b20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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={sbindir}/pflash -i

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