Date: Fri, 09 Sep 2022 14:28:23 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266320] dns/knot-resolver: service status not working Message-ID: <bug-266320-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266320 Bug ID: 266320 Summary: dns/knot-resolver: service status not working Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: yonas.yanfa@gmail.com I'm not sure if the child pid or the daemon pid should be checked, but maybe something like this could be added to /usr/local/etc/rc.d/kresd: kresd_status() { if [ -e "${pidfile}" ]; then echo "${name} is running on pid $(cat $pidfile)." return 1 else echo "${name} is not running." return 0 fi } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266320-7788>