summarylogtreecommitdiffstats
path: root/filtor.install
blob: b8e09920050e8ba143726f2934d469777fdc1906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  getent passwd filtor > /dev/null || useradd -r -g tor -d / -s /sbin/nologin filtor
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  systemctl stop filtor
  userdel filtor
}