FreeBSD Bugzilla – Attachment 247823 Details for
Bug 276499
dns/blocky: enable logging in rc script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
f2f9230.diff
f2f92308c6ee2a67c4d5a5f0bd3b3dff16c8c458.diff (text/plain), 662 bytes, created by
Nuno Teixeira
on 2024-01-21 20:35:15 UTC
(
hide
)
Description:
f2f9230.diff
Filename:
MIME Type:
Creator:
Nuno Teixeira
Created:
2024-01-21 20:35:15 UTC
Size:
662 bytes
patch
obsolete
>diff --git a/dns/blocky/files/blocky.in b/dns/blocky/files/blocky.in >index 2b625f8be55d5..13fb9fb0c13f2 100644 >--- a/dns/blocky/files/blocky.in >+++ b/dns/blocky/files/blocky.in >@@ -34,12 +34,13 @@ if [ -n "${blocky_user}" ] && [ -z "${blocky_group}" ]; then > blocky_group=$(id -gn "${blocky_user}") > fi > >+logfile="/var/log/${name}.log" > pidfile="/var/run/${name}.pid" > blocky_path="%%PREFIX%%/sbin/blocky" > > command="/usr/sbin/daemon" > procname="/usr/local/sbin/blocky" >-command_args="-c -f -p ${pidfile} ${blocky_path} \ >+command_args="-c -f -o ${logfile} -p ${pidfile} ${blocky_path} \ > -c ${blocky_config} ${blocky_flags}" > > start_precmd="blocky_precmd"
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 276499
: 247823