blob: c1f5ae293249b0180fba62696f060861d027d707 [file] [log] [blame]
Matthew Barth2eb5a132019-04-12 13:43:18 -05001[Unit]
2Description=Phosphor Cooling Type
3Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
5ConditionPathExists={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
6
7[Service]
8Type=oneshot
9RemainAfterExit=yes
10EnvironmentFile={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
11ExecStart=/usr/bin/env phosphor-cooling-type ${{OBJPATH}} ${{AIR}} ${{WATER}} ${{DEVICE}} ${{CODE}}
12SyslogIdentifier=phosphor-cooling-type
13
14[Install]
15RequiredBy=multi-user.target