summarylogtreecommitdiffstats
path: root/tor.install
blob: caca13a2df57c20f2a4e6981be1c7b734469d372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}