On Mon, 15 Jul 2019, Dmitry Bogatov wrote:

> init.d script contains following code (line 239):
> 
>       if ps "$pid" >/dev/null 2>&1; then
>               log_success_msg "$NAME is running"
>               exit 0
>       else
>               log_failure_msg "$NAME is not running"
>               exit 1
>       fi

Thanks for your report.

I think the following should also fix this:

-       if ps "$pid" >/dev/null 2>&1; then
+       if start-stop-daemon --pid "$pid" -T ; then


Cheers,
-- 
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/

Reply via email to