wspoon: Make cooling-type service a oneshot

Change the type of the phosphor-cooling-type service to
a oneshot, and also tell it to remain after exit.

This is so that any services that depend on this won't start
until the the phosphor-cooling-type application is done so
they can rely on the cooling type property being set in the
inventory.

Tested: Checked that a service that depends on this one
        and gets the cooling type will read the correct value.

Change-Id: Id4852983a31787b19bee8a2106a46128c294b2ce
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan%/phosphor-cooling-type@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan%/phosphor-cooling-type@.service
index 9a4f8df..9086efb 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan%/phosphor-cooling-type@.service
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan%/phosphor-cooling-type@.service
@@ -5,6 +5,8 @@
 ConditionPathExists={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
 
 [Service]
+Type=oneshot
+RemainAfterExit=yes
 EnvironmentFile={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
 ExecStart=/usr/bin/env phosphor-cooling-type ${{OBJPATH}} ${{AIR}} ${{WATER}} ${{DEVICE}} ${{CODE}}
 SyslogIdentifier=phosphor-cooling-type