From 45bf4b02e7e96708e7d4cf5a5cd97b9a0ca8c294 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 27 Aug 2018 16:51:33 +0200 Subject: [PATCH] Ensure that when pihole-FTL is launched as user root, it will drop permissions as soon as this is possible. We tell pihole-FTL to change UID/GID to pihole:pihole instead of the default nobody:nogroup. This default causes conflicts with our SQLite3 database. See that corresponding pull request for further details. Signed-off-by: DL6ER --- advanced/01-pihole.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/advanced/01-pihole.conf b/advanced/01-pihole.conf index f7b78ab0..d86b660f 100644 --- a/advanced/01-pihole.conf +++ b/advanced/01-pihole.conf @@ -24,6 +24,9 @@ addn-hosts=/etc/pihole/gravity.list addn-hosts=/etc/pihole/black.list addn-hosts=/etc/pihole/local.list +user=pihole +group=pihole + domain-needed localise-queries