forked from indymedia/epicyon
Different usernames
parent
d066d11b6a
commit
9910f6595f
|
@ -45,7 +45,7 @@ fi
|
||||||
clear
|
clear
|
||||||
echo 'Installing Epicyon on an i2p domain'
|
echo 'Installing Epicyon on an i2p domain'
|
||||||
|
|
||||||
username='epicyon'
|
username='epicyon-i2p'
|
||||||
NGINX_PORT=9554
|
NGINX_PORT=9554
|
||||||
EPICYON_PORT=7158
|
EPICYON_PORT=7158
|
||||||
tunnels_dir=/var/lib/i2pd/tunnels.d
|
tunnels_dir=/var/lib/i2pd/tunnels.d
|
||||||
|
@ -88,7 +88,7 @@ else
|
||||||
adduser --system --home=${install_destination} --group $username
|
adduser --system --home=${install_destination} --group $username
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R epicyon:epicyon ${install_destination}
|
chown -R ${username}:${username} ${install_destination}
|
||||||
|
|
||||||
echo 'Creating a command script to obtain i2p domain names from dat files'
|
echo 'Creating a command script to obtain i2p domain names from dat files'
|
||||||
{ echo '#!/bin/bash';
|
{ echo '#!/bin/bash';
|
||||||
|
|
|
@ -27,7 +27,7 @@ fi
|
||||||
clear
|
clear
|
||||||
echo 'Installing Epicyon on an onion domain'
|
echo 'Installing Epicyon on an onion domain'
|
||||||
|
|
||||||
username='epicyon'
|
username='epicyon-onion'
|
||||||
NGINX_PORT=9553
|
NGINX_PORT=9553
|
||||||
EPICYON_PORT=7157
|
EPICYON_PORT=7157
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ else
|
||||||
adduser --system --home=${install_destination} --group $username
|
adduser --system --home=${install_destination} --group $username
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R epicyon:epicyon ${install_destination}
|
chown -R ${username}:${username} ${install_destination}
|
||||||
|
|
||||||
echo 'Creating onion site configuration'
|
echo 'Creating onion site configuration'
|
||||||
if [ ! -d /etc/torrc.d ]; then
|
if [ ! -d /etc/torrc.d ]; then
|
||||||
|
|
Loading…
Reference in New Issue