Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba1e94d3d9 | ||
|
|
5ca1bfc11c | ||
|
|
e967fe2266 | ||
|
|
7a19d24058 |
@@ -22,9 +22,6 @@ addn-hosts=/etc/pihole/gravity.list
|
|||||||
addn-hosts=/etc/pihole/black.list
|
addn-hosts=/etc/pihole/black.list
|
||||||
addn-hosts=/etc/pihole/local.list
|
addn-hosts=/etc/pihole/local.list
|
||||||
|
|
||||||
user=pihole
|
|
||||||
group=pihole
|
|
||||||
|
|
||||||
domain-needed
|
domain-needed
|
||||||
|
|
||||||
localise-queries
|
localise-queries
|
||||||
|
|||||||
@@ -33,6 +33,8 @@ start() {
|
|||||||
mkdir -p /var/run/pihole
|
mkdir -p /var/run/pihole
|
||||||
mkdir -p /var/log/pihole
|
mkdir -p /var/log/pihole
|
||||||
chown pihole:pihole /var/run/pihole /var/log/pihole
|
chown pihole:pihole /var/run/pihole /var/log/pihole
|
||||||
|
# Remove possible leftovers from previous pihole-FTL processes
|
||||||
|
rm -f /dev/shm/FTL-* 2> /dev/null
|
||||||
rm /var/run/pihole/FTL.sock 2> /dev/null
|
rm /var/run/pihole/FTL.sock 2> /dev/null
|
||||||
# Ensure that permissions are set so that pihole-FTL can edit all necessary files
|
# Ensure that permissions are set so that pihole-FTL can edit all necessary files
|
||||||
chown pihole:pihole /run/pihole-FTL.pid /run/pihole-FTL.port
|
chown pihole:pihole /run/pihole-FTL.pid /run/pihole-FTL.port
|
||||||
|
|||||||
Reference in New Issue
Block a user