summarylogtreecommitdiffstats
path: root/pi-hole-ftl.install
blob: 7ded1572756f647aa7059b64521fa7ed9f3bbd6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  systemd-tmpfiles --create pi-hole-ftl.conf

  systemctl daemon-reload > /dev/null
  systemctl is-active pi-hole-ftl.service 2>&1 >/dev/null || systemctl start pi-hole-ftl.service
}

post_upgrade() {
  post_install $1
}

post_remove() {
  userdel -f pihole
}