Onion only blog readme
This commit is contained in:
parent
5a79a85c5a
commit
c30ceadaad
|
@ -8235,9 +8235,9 @@ function install_blog {
|
||||||
echo '==========' >> /home/$MY_USERNAME/README
|
echo '==========' >> /home/$MY_USERNAME/README
|
||||||
echo $"Your blog username: $MY_USERNAME" >> /home/$MY_USERNAME/README
|
echo $"Your blog username: $MY_USERNAME" >> /home/$MY_USERNAME/README
|
||||||
echo $"Your blog password is: $FULLBLOG_ADMIN_PASSWORD" >> /home/$MY_USERNAME/README
|
echo $"Your blog password is: $FULLBLOG_ADMIN_PASSWORD" >> /home/$MY_USERNAME/README
|
||||||
echo $"Log into your blog at https://$FULLBLOG_DOMAIN_NAME/login" >> /home/$MY_USERNAME/README
|
if [[ $ONION_ONLY == 'no' ]]; then
|
||||||
echo $'Edit your blog title and time zone at:' >> /home/$MY_USERNAME/README
|
echo $"Log into your blog at https://$FULLBLOG_DOMAIN_NAME/login" >> /home/$MY_USERNAME/README
|
||||||
echo " /var/www/$FULLBLOG_DOMAIN_NAME/htdocs/config/config.ini" >> /home/$MY_USERNAME/README
|
fi
|
||||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
||||||
chmod 600 /home/$MY_USERNAME/README
|
chmod 600 /home/$MY_USERNAME/README
|
||||||
fi
|
fi
|
||||||
|
@ -8257,7 +8257,8 @@ function install_blog {
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
if ! grep -q "Blog onion domain" /home/$MY_USERNAME/README; then
|
if ! grep -q "Blog onion domain" /home/$MY_USERNAME/README; then
|
||||||
echo "Blog onion domain: ${FULLBLOG_ONION_HOSTNAME}" >> /home/$MY_USERNAME/README
|
echo $"Blog onion domain: ${FULLBLOG_ONION_HOSTNAME}" >> /home/$MY_USERNAME/README
|
||||||
|
echo $"Log into your blog at https://${FULLBLOG_ONION_HOSTNAME}/login" >> /home/$MY_USERNAME/README
|
||||||
echo '' >> /home/$MY_USERNAME/README
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
||||||
chmod 600 /home/$MY_USERNAME/README
|
chmod 600 /home/$MY_USERNAME/README
|
||||||
|
|
Loading…
Reference in New Issue