aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-05-22 10:20:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-05-22 10:20:45 -0300
commit153b61a04dd47d818b21fa28f92105af559a01cd (patch)
treeb1a40ac630a11e9c518a7af51e26e6c5a593a5c4
parent01c2667044ae614009622cd453cb4040e395d747 (diff)
downloadtrashman-153b61a04dd47d818b21fa28f92105af559a01cd.tar.gz
trashman-153b61a04dd47d818b21fa28f92105af559a01cd.tar.bz2
Fix: tor-onion-service: switch to apache2 and restart service
-rwxr-xr-xshare/trashman/tor-onion-service/unix/linux/debian/install5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/trashman/tor-onion-service/unix/linux/debian/install b/share/trashman/tor-onion-service/unix/linux/debian/install
index cc0953e..e3145a4 100755
--- a/share/trashman/tor-onion-service/unix/linux/debian/install
+++ b/share/trashman/tor-onion-service/unix/linux/debian/install
@@ -9,7 +9,8 @@ HIDDEN="/var/lib/tor/hidden/service"
. $SHARE/trashman/debian || exit 1
# Requirements
-trashman_apt_install tor lighttpd
+#trashman_apt_install tor lighttpd
+trashman_apt_install tor apache2
# Tor config
cat <<-EOF > /etc/tor/torrc
@@ -24,4 +25,4 @@ chmod -R 700 $HIDDEN
chown -R debian-tor: $HIDDEN
# Start Tor
-service tor start
+service tor restart