Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 392174 Details for
Bug 504074
net-dns/dnscrypt-proxy - a DNS resolver/forwarder that encrypts and authenticates requests using the DNSCrypt protocol
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dnscrypt-proxy.initd
dnscrypt-proxy.initd (text/plain), 1.11 KB, created by
Wang Jiajun
on 2014-12-21 16:12:01 UTC
(
hide
)
Description:
dnscrypt-proxy.initd
Filename:
MIME Type:
Creator:
Wang Jiajun
Created:
2014-12-21 16:12:01 UTC
Size:
1.11 KB
patch
obsolete
>#!/sbin/runscript > >DNSCRYPT_LOGFILE=${DNSCRYPT_LOGFILE:-/var/log/dnscrypt-proxy.log} > >rundir=${rundir:-/var/run/dnscrypt-proxy} >pidfile=${pidfile:-${rundir}/dnscrypt-proxy.pid} >rundir=${rundir:-/var/run/dnscrypt-proxy} >runas_user=${runas_user:-dnscrypt} >runas_group=${runas_user:-dnscrypt} > >depend() { > use net > before dns > after logger >} > >start() { > if [ ! -d "${rundir}" ]; then > mkdir "${rundir}" > if [ -n "${runas_user}" ]; then > touch ${DNSCRYPT_LOGFILE} > chown ${runas_user}:${runas_group} ${DNSCRYPT_LOGFILE} > chown -R ${runas_user}:${runas_group} "${rundir}" > fi > fi > > ebegin "Starting dnscrypt-proxy" > start-stop-daemon --start --quiet --pidfile=${pidfile} --exec /usr/sbin/dnscrypt-proxy -- --pidfile=${pidfile} --logfile=${DNSCRYPT_LOGFILE} --daemonize --user=${runas_user} --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} --resolver-address=${DNSCRYPT_RESOLVERIP}:${DNSCRYPT_RESOLVERPORT} --provider-name=${DNSCRYPT_PROVIDER_NAME} --provider-key=${DNSCRYPT_PROVIDER_KEY} > eend $? >} > >stop() { > ebegin "Stopping dnscrypt-proxy" > start-stop-daemon --stop --quiet --exec /usr/sbin/dnscrypt-proxy > eend $? >}
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 Raw
Actions:
View
Attachments on
bug 504074
:
392170
|
392172
| 392174 |
392176