1 From cf72e404927c807e4352d867f73f2a2c409fc524 Mon Sep 17 00:00:00 2001
2 From: Jackie Huang <jackie.huang@windriver.com>
3 Date: Mon, 13 Apr 2020 23:38:43 +0800
4 Subject: [PATCH] service: redirect to restart for reload
6 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
9 1 file changed, 4 insertions(+)
11 diff --git a/service b/service
12 index 357c2a6..1f3976c 100755
15 @@ -70,6 +70,10 @@ while [ $# -gt 0 ]; do
19 +if [ "${ACTION}" = "reload" ]; then
23 if [ -f "${SERVICEDIR}/${SERVICE}" ]; then
24 # LSB daemons that dies abnormally in systemd looks alive in systemd's eyes due to RemainAfterExit=yes
25 # lets reap them before next start