diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2020-05-12 22:08:30 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-05-27 00:33:33 +0300 |
commit | c358bce9b48a07b86133b443ad07f17d72ddfd6e (patch) | |
tree | 261df904b5ff9f3602211d0aad8fb109d9db4a00 /meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service | |
parent | da4c5d402e510b08dca8353281bc17f90fec679d (diff) | |
download | openbmc-c358bce9b48a07b86133b443ad07f17d72ddfd6e.tar.xz |
witherspoon: Remove `witherspoon` naming from fan watchdog
Remove the use of `witherspoon` in the names of the recipe, config
files, and services of the fan watchdog. This is in prep to use this
same fan watchdog on other machines within meta-ibm that have different
configurations.
Tested:
Witherspoon image matches image prior to change
Flash image to Witherspoon and force watchdog to trip
(From meta-ibm rev: 80f819efec08f7cc7de6988f64c0c77e20990f05)
Change-Id: I77295974397cd4903cd1a723b9ef97ee744d2557
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service')
-rw-r--r-- | meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service b/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service new file mode 100644 index 000000000..3f941836d --- /dev/null +++ b/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service @@ -0,0 +1,13 @@ +[Unit] +Description=Fan Watchdog Daemon +Wants=phosphor-fan-monitor-init@0.service +Before=phosphor-fan-monitor-init@0.service +Conflicts=obmc-fan-watchdog-takeover.target + +[Service] +EnvironmentFile={envfiledir}/obmc/fan-watchdog/fan-watchdog.conf +ExecStart=/sbin/watchdog -T ${{TIMEOUT}} -t ${{INTERVAL}} -F ${{DEVICE}} +KillSignal=SIGKILL + +[Install] +RequiredBy=obmc-chassis-poweron@0.target |