summarylogtreecommitdiffstats
path: root/tor.install
blob: 8e8e3b10eda9886e7ff3b6bc788ef1ad5740c7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
  echo "==> "
  echo "==> Tor has been preconfigured to run as a client only"
  echo "==> Tor is experimental software, Do not rely on it for strong anonymity."
  echo "==> "
  post_upgrade
}

post_upgrade() {
  systemd-sysusers tor.conf
  systemd-tmpfiles --create tor.conf
  chown -R tor:tor /etc/tor
  chmod 755 /etc/tor
}

pre_remove() {
  echo
}