blob: 9086efb77b6b9e62c9e54464a6eb8dfa7ed99199 [file] [log] [blame]
Brandon Wyman37e55d82017-04-28 18:26:45 -05001[Unit]
2Description=Phosphor Cooling Type
3Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
Brandon Wyman22b38762017-06-12 14:37:27 -05005ConditionPathExists={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
Brandon Wyman37e55d82017-04-28 18:26:45 -05006
7[Service]
Matt Spinler0cb56012018-04-25 10:35:14 -05008Type=oneshot
9RemainAfterExit=yes
Brandon Wyman23db01f2017-06-09 17:50:42 -050010EnvironmentFile={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
Michael Tritzbc3818e2017-08-15 14:07:23 -050011ExecStart=/usr/bin/env phosphor-cooling-type ${{OBJPATH}} ${{AIR}} ${{WATER}} ${{DEVICE}} ${{CODE}}
12SyslogIdentifier=phosphor-cooling-type
Brandon Wyman37e55d82017-04-28 18:26:45 -050013
14[Install]
15RequiredBy={SYSTEMD_DEFAULT_TARGET}