Default zeronet service names
This commit is contained in:
parent
f6b2e33178
commit
8b9c885c5a
|
@ -405,8 +405,11 @@ TOX_NODE=
|
|||
ZERONET_REPO='https://github.com/bashrc/ZeroNet.git'
|
||||
ZERONET_BLOG_REPO='https://github.com/HelloZeroNet/ZeroBlog'
|
||||
ZERONET_FORUM_REPO='https://github.com/HelloZeroNet/ZeroTalk'
|
||||
ZERONET_URL=http://127.0.0.1:43110
|
||||
ZERONET_PORT=15441
|
||||
TRACKER_PORT=6969
|
||||
ZERONET_DEFAULT_BLOG_TAGLINE="Blogging on the Mesh"
|
||||
ZERONET_DEFAULT_FORUM_TAGLINE="A decentralized discussion group"
|
||||
|
||||
# Default diffie-hellman key length in bits
|
||||
DH_KEYLENGTH=1024
|
||||
|
@ -1637,6 +1640,8 @@ function install_zeronet_blog {
|
|||
exit 736
|
||||
fi
|
||||
|
||||
ZERONET_DEFAULT_BLOG_TITLE="${MY_USERNAME}'s Blog"
|
||||
|
||||
cd /opt/zeronet
|
||||
python zeronet.py --batch siteCreate 2> /opt/zeronet/blog.txt
|
||||
if [ ! -f /opt/zeronet/blog.txt ]; then
|
||||
|
@ -1736,6 +1741,8 @@ function install_zeronet_forum {
|
|||
exit 736
|
||||
fi
|
||||
|
||||
ZERONET_DEFAULT_FORUM_TITLE="${MY_USERNAME}'s Forum"
|
||||
|
||||
cd /opt/zeronet
|
||||
python zeronet.py --batch siteCreate 2> /opt/zeronet/forum.txt
|
||||
if [ ! -f /opt/zeronet/forum.txt ]; then
|
||||
|
|
|
@ -17,9 +17,7 @@ TRACKER_PORT=6969
|
|||
MY_USERNAME=$USER
|
||||
ZERONET_DIR=/home/$MY_USERNAME/zeronet
|
||||
UPDATED="no"
|
||||
ZERONET_DEFAULT_BLOG_TITLE="$(hostname)'s Blog"
|
||||
ZERONET_DEFAULT_BLOG_TAGLINE="Blogging on the Mesh"
|
||||
ZERONET_DEFAULT_FORUM_TITLE="$(hostname)'s Forum"
|
||||
ZERONET_DEFAULT_FORUM_TAGLINE="A decentralized discussion group"
|
||||
|
||||
function install_zeronet_blog {
|
||||
|
@ -36,6 +34,8 @@ function install_zeronet_blog {
|
|||
exit 736
|
||||
fi
|
||||
|
||||
ZERONET_DEFAULT_BLOG_TITLE="${MY_USERNAME}'s Blog"
|
||||
|
||||
cd $ZERONET_DIR
|
||||
python zeronet.py --batch siteCreate 2> $ZERONET_DIR/blog.txt
|
||||
if [ ! -f $ZERONET_DIR/blog.txt ]; then
|
||||
|
@ -127,6 +127,8 @@ function install_zeronet_forum {
|
|||
exit 736
|
||||
fi
|
||||
|
||||
ZERONET_DEFAULT_FORUM_TITLE="${MY_USERNAME}'s Forum"
|
||||
|
||||
cd $ZERONET_DIR
|
||||
python zeronet.py --batch siteCreate 2> $ZERONET_DIR/forum.txt
|
||||
if [ ! -f $ZERONET_DIR/forum.txt ]; then
|
||||
|
|
Loading…
Reference in New Issue