commit | bf53aeea18754e3e8e00d71f8f90ab94cc3119f6 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Fri Oct 06 14:17:15 2017 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Fri Oct 06 14:20:16 2017 -0500 |
tree | 227a298ef804617a8cdf64b4ce42b95e6b1d5459 | |
parent | 228be7827c19386fdcebf9c9b79f6da5815c252d [diff] |
Don't use template parameters in fan watchdog service witherspoon-fan-watchdog.service is not a template service, but it still used %i inside of it. Change that to just be the actual template instance required. Resolves openbmc/openbmc#2432 Change-Id: I19bddbd260b5f6945400a83fc6ab34d9077a35b7 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-fan-watchdog.service b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-fan-watchdog.service index 902ab6d..5b59546 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-fan-watchdog.service +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-fan-watchdog.service
@@ -1,7 +1,7 @@ [Unit] Description=Witherspoon Fan Watchdog Daemon -Wants=phosphor-fan-control-init@%i.service -Before=phosphor-fan-control-init@%i.service +Wants=phosphor-fan-control-init@0.service +Before=phosphor-fan-control-init@0.service Conflicts=obmc-fan-watchdog-takeover.target [Service] @@ -10,4 +10,4 @@ KillSignal=SIGKILL [Install] -RequiredBy=obmc-chassis-poweron@%i.target +RequiredBy=obmc-chassis-poweron@0.target