diff options
author | DL6ER <dl6er@dl6er.de> | 2019-12-09 15:23:42 +0300 |
---|---|---|
committer | DL6ER <dl6er@dl6er.de> | 2019-12-09 15:23:42 +0300 |
commit | 620e1e9c73277fb1f6c1f0be3a8cc3bd9d2b82f5 (patch) | |
tree | 86bd2fe4770ee868fec4f5093614950e1eb8e508 /advanced | |
parent | 807a5cfb23f3b21484d7018401d3c590f6cdf499 (diff) |
Do not force nameserver 127.0.0.1 through resolvconf in pihole-FTL.service
Signed-off-by: DL6ER <dl6er@dl6er.de>
Diffstat (limited to 'advanced')
-rw-r--r-- | advanced/Templates/pihole-FTL.service | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/advanced/Templates/pihole-FTL.service b/advanced/Templates/pihole-FTL.service index 5dbf080e..410b9b2c 100644 --- a/advanced/Templates/pihole-FTL.service +++ b/advanced/Templates/pihole-FTL.service @@ -48,7 +48,6 @@ start() { chown pihole:pihole /etc/pihole /etc/pihole/dhcp.leases 2> /dev/null chown pihole:pihole /var/log/pihole-FTL.log /var/log/pihole.log chmod 0644 /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port /var/log/pihole.log - echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.piholeFTL if setcap CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_NET_ADMIN+eip "$(which pihole-FTL)"; then su -s /bin/sh -c "/usr/bin/pihole-FTL" "$FTLUSER" else @@ -62,7 +61,6 @@ start() { # Stop the service stop() { if is_running; then - /sbin/resolvconf -d lo.piholeFTL kill "$(get_pid)" for i in {1..5}; do if ! is_running; then |