summaryrefslogtreecommitdiff
path: root/service/src
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2024-08-12 06:23:04 +0000
committersongyanchao <[email protected]>2024-08-12 06:23:04 +0000
commitd12bdd13075e28d521c0a5eeda5f9e333518c776 (patch)
tree72d2b5e2bacd255bb6c860cdd9b4d5ebba6680e4 /service/src
parent96e1b64b3a4b53bf4c0882dbfecddd4796e826f6 (diff)
🐞 fix: Fix issue where Marsio fails to start when deployed independently using RPM.
Fix issue where Marsio fails to start when deployed independently using RPM.
Diffstat (limited to 'service/src')
-rw-r--r--service/src/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/src/core.c b/service/src/core.c
index 111a3b4..04d8917 100644
--- a/service/src/core.c
+++ b/service/src/core.c
@@ -1382,6 +1382,7 @@ int marsio_service_main(int argc, char * argv[])
while (true)
{
sleep(1);
+ sd_notify(0, "WATCHDOG=1");
}
quit: