]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: tor-onion-service: switch to apache2 and restart service
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 22 May 2021 13:20:45 +0000 (10:20 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 22 May 2021 13:20:45 +0000 (10:20 -0300)
share/trashman/tor-onion-service/unix/linux/debian/install

index cc0953e9efe82691987579ae9c12475019d7105b..e3145a4cc9277ba3d0a09c9fc1b321b8b92f1900 100755 (executable)
@@ -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