diff options
author | Rina Fujino <18257209+rina23q@users.noreply.github.com> | 2022-05-25 13:19:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 13:19:58 +0200 |
commit | 7f75af001342075a102460a3e3f5792411ed3ec3 (patch) | |
tree | 30696d699b7698d193545ee1b898808e246b9494 /docs | |
parent | 355d5111fc0ba139473da4643df4dd21e708674e (diff) |
Correct the service file name (#1167)
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/src/howto-guides/021_enable_tedge_watchdog_using_systemd.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/howto-guides/021_enable_tedge_watchdog_using_systemd.md b/docs/src/howto-guides/021_enable_tedge_watchdog_using_systemd.md index 5941264b..50c39967 100644 --- a/docs/src/howto-guides/021_enable_tedge_watchdog_using_systemd.md +++ b/docs/src/howto-guides/021_enable_tedge_watchdog_using_systemd.md @@ -16,7 +16,7 @@ using the `systemd` is a two-step process. ### Step 1: Enable the `watchdog` feature in the `systemd` service file For example to enable the `watchdog` feature for `tedge-mapper-c8y` service, update systemd service file as shown below. -Add `tedge_watchdog.service` in `After` under `[Unit]` section. +Add `tedge-watchdog.service` in `After` under `[Unit]` section. Add `WatchdogSec=5` under `[Service]` section. The sample service file after updating looks as below. @@ -24,7 +24,7 @@ The sample service file after updating looks as below. ```shell [Unit] Description=tedge-mapper-c8y converts Thin Edge JSON measurements to Cumulocity JSON format. -After=syslog.target network.target mosquitto.service tedge_watchdog.service +After=syslog.target network.target mosquitto.service tedge-watchdog.service [Service] User=tedge-mapper |