summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2015-10-22 14:14:25 +0200
committerJulian Ospald <hasufell@gentoo.org>2015-10-22 14:45:33 +0200
commit231001d252cd81974b8745d07a4440d4f59bced7 (patch)
treed7a190db491b0360e4981f37f3b701eb54ff0a5a /net-dns
parentnet-dns/dnscrypt-proxy: version bump to 1.6.0 and various fixes (diff)
downloadgentoo-231001d252cd81974b8745d07a4440d4f59bced7.tar.gz
gentoo-231001d252cd81974b8745d07a4440d4f59bced7.tar.bz2
gentoo-231001d252cd81974b8745d07a4440d4f59bced7.zip
net-dns/dnscrypt-proxy: add missing quotes to dnscrypt-proxy.initd
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
index 3ef60f9ab8c..8e231e4e51e 100644
--- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
+++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
@@ -21,8 +21,8 @@ start() {
if [ ! -d "${rundir}" ]; then
mkdir "${rundir}"
if [ -n "${runas_user}" ]; then
- touch ${DNSCRYPT_LOGFILE}
- chown ${runas_user}:${runas_group} ${DNSCRYPT_LOGFILE}
+ touch "${DNSCRYPT_LOGFILE}"
+ chown ${runas_user}:${runas_group} "${DNSCRYPT_LOGFILE}"
chown -R ${runas_user}:${runas_group} "${rundir}"
fi
fi
@@ -31,8 +31,8 @@ start() {
start-stop-daemon --start --quiet \
--exec /usr/sbin/dnscrypt-proxy \
-- \
- --pidfile=${pidfile} \
- --logfile=${DNSCRYPT_LOGFILE} \
+ --pidfile="${pidfile}" \
+ --logfile="${DNSCRYPT_LOGFILE}" \
--daemonize --user=${runas_user} \
--local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \
--resolver-address=${DNSCRYPT_RESOLVERIP}:${DNSCRYPT_RESOLVERPORT} \