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

gogs

parent 9551d74c
No related branches found
No related tags found
No related merge requests found
......@@ -176,8 +176,7 @@ function show_domains {
echo -n -e "$(pad_string 'Gogs')"
GOGSDOM=$(cat ${COMPLETION_FILE} | grep 'Gogs domain' | awk -F ':' '{print $2}')
echo -n -e "$(pad_string ${GOGSDOM})"
if [ -d /var/lib/tor/hidden_service_git ]; then
/var/lib/tor/hidden_service_gogs/hostname
if [ -d /var/lib/tor/hidden_service_gogs ]; then
echo -n "$(cat /var/lib/tor/hidden_service_gogs/hostname)"
fi
echo ''
......
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