FreeBSD Bugzilla – Attachment 137339 Details for
Bug 182792
dns/knot: knotd startup script no longer works
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
knotd.patch
knotd.patch (text/x-diff; charset=utf-8), 828 bytes, created by
Kristof Provost
on 2013-10-10 16:42:48 UTC
(
hide
)
Description:
knotd.patch
Filename:
MIME Type:
Creator:
Kristof Provost
Created:
2013-10-10 16:42:48 UTC
Size:
828 bytes
patch
obsolete
>--- knotd-old 2013-10-10 17:20:25.619211573 +0200 >+++ knotd 2013-10-10 17:41:53.109211462 +0200 >@@ -28,23 +28,23 @@ > : ${knot_enable:="NO"} > : ${knot_config="/usr/local/etc/knot/knot.conf"} > >-command=/usr/local/sbin/${name}c >-procname=/usr/local/sbin/${name}d >+knotc=/usr/local/sbin/${name}c >+command=/usr/local/sbin/${name}d > pidfile=/var/run/${name}.pid > >-command_args="-c ${knot_config} -w start" >+command_args="-c ${knot_config} -d" > required_files=${knot_config} > > knot_reload() { > echo "Reloading ${name}." >- ${command} -c ${knot_config} reload >+ ${knotc} -c ${knot_config} reload > } > knot_status() { >- ${command} -c ${knot_config} status >+ ${knotc} -c ${knot_config} status > } > knot_stop() { > echo "Stopping ${name}." >- ${command} -c ${knot_config} stop >+ ${knotc} -c ${knot_config} stop > } > > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 182792
: 137339 |
137340