Create version file, if not existing (on first Container start) (#6440)

This commit is contained in:
Adam Warner
2025-10-27 20:57:50 +00:00
committed by GitHub

View File

@@ -14,6 +14,7 @@ mkdir -p /var/log/pihole
chown -R pihole:pihole /etc/pihole/ /var/log/pihole/
# allow all users read version file (and use pihole -v)
touch /etc/pihole/versions
chmod 0644 /etc/pihole/versions
# allow pihole to access subdirs in /etc/pihole (sets execution bit on dirs)