blob: 9086efb77b6b9e62c9e54464a6eb8dfa7ed99199 [file] [log] [blame]
Brandon Wymanc50a8c42017-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 Wyman1cac4cd2017-06-12 14:37:27 -05005ConditionPathExists={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
Brandon Wymanc50a8c42017-04-28 18:26:45 -05006
7[Service]
Matt Spinler2739f602018-04-25 10:35:14 -05008Type=oneshot
9RemainAfterExit=yes
Brandon Wyman5b42b742017-06-09 17:50:42 -050010EnvironmentFile={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050011ExecStart=/usr/bin/env phosphor-cooling-type ${{OBJPATH}} ${{AIR}} ${{WATER}} ${{DEVICE}} ${{CODE}}
12SyslogIdentifier=phosphor-cooling-type
Brandon Wymanc50a8c42017-04-28 18:26:45 -050013
14[Install]
15RequiredBy={SYSTEMD_DEFAULT_TARGET}