Skip to content
Snippets Groups Projects
Commit 539bc638 authored by Bob Mottram's avatar Bob Mottram
Browse files

Site domain as an option

parent f4f85ff5
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
PROJECT_NAME=freedombone
lang=$1
lang=$2
CONFIGURATION_FILE=/root/${PROJECT_NAME}.cfg
......@@ -36,6 +36,10 @@ ONION_ONLY='no'
site_domain=${PROJECT_NAME}.net
site_onion_port=8149
if [ "$1" ]; then
site_domain="$1"
fi
if [ ! -d /root/${PROJECT_NAME}/website ]; then
echo "Directory not found /root/${PROJECT_NAME}/website"
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment