post_install() { cat <<- EOF ==> please read configuration instructions at /usr/share/doc/pihole/configuration ==> lighttpd config file is changed. please uninstall and reinstall following configuration steps. ==> first install/update run... EOF chown -R http.http /srv/http/pihole systemd-tmpfiles --create pi-hole.conf /usr/bin/gravity.sh > /dev/null } post_upgrade() { post_install $1 } post_remove() { rm -R /etc/pihole/ rm /run/log/pihole.log }