Replace remote with local repo
This commit is contained in:
@@ -43,7 +43,7 @@ start_tor() {
|
||||
|
||||
node "${REPO}/scripts/generate-onion-config.cjs"
|
||||
|
||||
mkdir -p /etc/tor /etc/nginx/sites-available /etc/nginx/sites-enabled
|
||||
mkdir -p /etc/tor /etc/nginx/conf.d /etc/nginx/sites-available /etc/nginx/sites-enabled
|
||||
touch "${TORRC}"
|
||||
|
||||
tor_changed=0
|
||||
@@ -63,10 +63,10 @@ if ! grep -qF "${TOR_INCLUDE}" "${TORRC}"; then
|
||||
tor_changed=1
|
||||
fi
|
||||
|
||||
if install_if_changed "${REPO}/nginx/cyberlux-server-common.inc" /etc/nginx/cyberlux-server-common.inc 0644; then
|
||||
if install_if_changed "${REPO}/nginx/cyberlux-ddos-zones.conf" /etc/nginx/conf.d/cyberlux-ddos-zones.conf 0644; then
|
||||
nginx_changed=1
|
||||
fi
|
||||
if install_if_changed "${REPO}/nginx/cyberlux-onion-servers.inc" /etc/nginx/cyberlux-onion-servers.inc 0644; then
|
||||
if install_if_changed "${REPO}/nginx/cyberlux-server-common.inc" /etc/nginx/cyberlux-server-common.inc 0644; then
|
||||
nginx_changed=1
|
||||
fi
|
||||
if install_if_changed "${REPO}/nginx.example.conf" /etc/nginx/sites-available/cyberlux-onion 0644; then
|
||||
|
||||
Reference in New Issue
Block a user