diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-10-06 14:17:15 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2017-10-06 14:20:16 -0500 |
commit | 38681831e41f1a228ede2f408c32e1983647a375 (patch) | |
tree | a09ce6ad7b758b2a08f20771563909f53475f16b /meta-openbmc-machines | |
parent | 65edf7d796c34012982632d0a724d80ff44c9e4a (diff) | |
download | talos-openbmc-38681831e41f1a228ede2f408c32e1983647a375.tar.gz talos-openbmc-38681831e41f1a228ede2f408c32e1983647a375.zip |
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>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-fan-watchdog.service | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-fan-watchdog.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-fan-watchdog.service index 902ab6d7a..5b59546e3 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-fan-watchdog.service +++ b/meta-openbmc-machines/meta-openpower/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 @@ ExecStart=/sbin/watchdog -T ${{TIMEOUT}} -t ${{INTERVAL}} -F ${{DEVICE}} KillSignal=SIGKILL [Install] -RequiredBy=obmc-chassis-poweron@%i.target +RequiredBy=obmc-chassis-poweron@0.target |