summaryrefslogtreecommitdiff
path: root/lib/systemd.c
diff options
context:
space:
mode:
authorSri Mohana Singamsetty <srimohans@gmail.com>2020-03-12 09:27:26 -0700
committerGitHub <noreply@github.com>2020-03-12 09:27:26 -0700
commit9766604161802db30a5c5aefa226e39bd404f9cc (patch)
tree9e55b65b5f6c4a86fd27213a75ac2ba94b383255 /lib/systemd.c
parent10ac2238b1b21cefa85bebe0f6d4c49059854e64 (diff)
parent54422b46f7ae5999d5d09522da048393e0221457 (diff)
Merge pull request #5827 from donaldsharp/missed_upstreaming
Missed upstreaming
Diffstat (limited to 'lib/systemd.c')
-rw-r--r--lib/systemd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/systemd.c b/lib/systemd.c
index 81b0400ab9..c5cc3aa447 100644
--- a/lib/systemd.c
+++ b/lib/systemd.c
@@ -114,8 +114,10 @@ void systemd_send_started(struct thread_master *m, int the_process)
systemd_master = m;
systemd_send_information("READY=1");
- if (wsecs != 0)
+ if (wsecs != 0) {
+ systemd_send_information("WATCHDOG=1");
thread_add_timer(m, systemd_send_watchdog, m, wsecs, NULL);
+ }
}
void systemd_send_status(const char *status)