Signed-off-by: Lei Jitang <leijitang@huawei.com>
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
Fixes #10958 by moving utils.daemon to pkg.pidfile. Test cases were also added. Updated the daemon to use the new pidfile. Signed-off-by: Rick Wieman <git@rickw.nl>