blob: 20181da9e95e19baf7278f9cb9a18d1c38f255f5 [file] [log] [blame]
Matthew Barth8921e372019-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
Matt Spinler0b590342022-04-07 16:10:17 -050011ExecStart=/usr/bin/phosphor-cooling-type ${{OBJPATH}} ${{AIR}} ${{WATER}} ${{DEVICE}} ${{CODE}}
Matthew Barth8921e372019-04-12 13:43:18 -050012
13[Install]
14RequiredBy=multi-user.target