mirror of
https://github.com/benbusby/whoogle-search
synced 2024-11-01 03:20:30 +00:00
b87619a133
Introduces a new script for quickly regenerating a Heroku instance (typically with a new IP) to handle the rare circumstances where an instance is flagged by Google and prompted for a captcha. The config/ dir was renamed to misc/ to avoid confusion with the Docker mounted config volume, and to more closely match its intended purpose (which is to contain all miscellaneous features/scripts/etc that add functionality to Whoogle, but are not critical for general use).
8 lines
104 B
Bash
Executable File
8 lines
104 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "$(whoami)" != "root" ]; then
|
|
tor -f /etc/tor/torrc
|
|
else
|
|
service tor start
|
|
fi
|