blob: 9444b367fb161548e6acd0f5c8795205783411f8 [file] [log] [blame]
Xo Wang95941be2016-11-30 17:02:18 -08001[Unit]
2Description=Fix up Zaius host refclock
3Wants=obmc-host-start-pre@%i.target
4Before=obmc-host-start-pre@%i.target
5Wants=obmc-power-on@%i.target
6After=obmc-power-on@%i.target
John Wang5f186002017-05-04 15:19:12 +08007Before=fsi-scan@%i.service
Josh D. King6cf56c02017-04-06 15:56:37 -05008Conflicts=obmc-host-stop@%i.target
Xo Wang6dc257e2017-06-02 14:42:07 -07009ConditionPathExists=!/run/openbmc/chassis@%i-on
Xo Wang95941be2016-11-30 17:02:18 -080010
11[Service]
12Restart=no
13Type=oneshot
14RemainAfterExit=yes
Michael Tritz343f4282017-08-15 14:07:23 -050015ExecStart=/usr/bin/env fix_zaius_refclock.sh
16SyslogIdentifier=fix_zaius_refclock.sh
Xo Wang95941be2016-11-30 17:02:18 -080017
18[Install]
Josh D. Kingf5ba9272017-04-06 14:43:46 -050019RequiredBy=obmc-chassis-poweron@%i.target