summarylogtreecommitdiffstats
path: root/pi-hole-standalone.install
blob: b6913ad66d73b8b96961f17d22eccc3ff34c008f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  cat <<- EOF
    ==> please read configuration instructions at /usr/share/doc/pihole/configuration
    ==> first install/update run...
EOF
  /usr/bin/gravity.sh > /dev/null
  systemctl daemon-reload > /dev/null
  systemctl start pi-hole-gravity.timer > /dev/null
}

post_upgrade() {
  post_install $1
}

post_remove() {
  rm -R /etc/pihole/
}