Date: Tue, 22 Jun 2021 22:20:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 256221] dns/knot-resolver: the kresd init script won't stop the service Message-ID: <bug-256221-7788-swnBbNDB9g@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256221-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-256221-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256221 --- Comment #24 from Chris Hutchinson <portmaster@bsdforge.com> --- Had a thought about the (missing) restart command. At the end of your start command: + else + echo "${name} seems already running." + fi Maybe change it as follows: + else + echo "${name} is already running!" + echo "Restarting ${name}..." + run_rc_command stop + run_rc_command start + echo "${name} restarted." + fi Seems simple, and won't break/harm anything. Yet only adds 4 additional lines. :-) --Chris --=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-256221-7788-swnBbNDB9g>