smartdns: change pid file path from /var/run to /run
This commit is contained in:
@@ -18,7 +18,10 @@
|
||||
SMARTDNS_BIN=/opt/usr/sbin/smartdns
|
||||
SMARTDNS_CONF=/opt/etc/smartdns/smartdns.conf
|
||||
DNSMASQ_CONF="/etc/dnsmasq.conf /var/etc/dnsmasq.conf /etc/storage/dnsmasq/dnsmasq.conf"
|
||||
SMARTDNS_PID=/var/run/smartdns.pid
|
||||
SMARTDNS_PID=/run/smartdns.pid
|
||||
if [ ! -d "/run" ]; then
|
||||
SMARTDNS_PID=/var/run/smartdns.pid
|
||||
fi
|
||||
SMARTDNS_PORT=535
|
||||
SMARTDNS_OPT=/opt/etc/smartdns/smartdns-opt.conf
|
||||
# workmode
|
||||
|
||||
Reference in New Issue
Block a user