blob: 9444b367fb161548e6acd0f5c8795205783411f8 [file] [log] [blame]
Xo Wange1dcc232016-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 Wangabef2cb2017-05-04 15:19:12 +08007Before=fsi-scan@%i.service
Josh D. Kingefb04a12017-04-06 15:56:37 -05008Conflicts=obmc-host-stop@%i.target
Xo Wanga70eb8a2017-06-02 14:42:07 -07009ConditionPathExists=!/run/openbmc/chassis@%i-on
Xo Wange1dcc232016-11-30 17:02:18 -080010
11[Service]
12Restart=no
13Type=oneshot
14RemainAfterExit=yes
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050015ExecStart=/usr/bin/env fix_zaius_refclock.sh
16SyslogIdentifier=fix_zaius_refclock.sh
Xo Wange1dcc232016-11-30 17:02:18 -080017
18[Install]
Josh D. Kingb9ee5362017-04-06 14:43:46 -050019RequiredBy=obmc-chassis-poweron@%i.target