From 89979e378b6b7c77867abd9e24599a3b70d4d5b7 Mon Sep 17 00:00:00 2001 From: Ronaldinho Date: Tue, 25 Feb 2020 21:10:37 +0800 Subject: [PATCH] fix a bug cause daemon cannot correct find the running process. --- redhat-init-equeffelec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redhat-init-equeffelec b/redhat-init-equeffelec index 83e2c32..1e9f381 100755 --- a/redhat-init-equeffelec +++ b/redhat-init-equeffelec @@ -52,7 +52,7 @@ RETVAL=0 start() { echo -n $"Starting $prog: " - daemon --pidfile=${pidfile} $supervisord $OPTIONS + daemon $supervisord $OPTIONS --pidfile=${pidfile} RETVAL=$? echo if [ $RETVAL -eq 0 ]; then