Create directory for tox user
This commit is contained in:
parent
d924dff596
commit
a8cf1e9a84
|
@ -908,6 +908,8 @@ function sign_keys {
|
||||||
function run_tox_client {
|
function run_tox_client {
|
||||||
# create a tox user
|
# create a tox user
|
||||||
if [ ! -f /home/${USER}/.config/tox/data.tox ]; then
|
if [ ! -f /home/${USER}/.config/tox/data.tox ]; then
|
||||||
|
mkdir -p /home/${USER}/.config/tox
|
||||||
|
chown -R ${USER}:${USER} /home/${USER}/.config
|
||||||
toxid -u ${USER} -n data
|
toxid -u ${USER} -n data
|
||||||
fi
|
fi
|
||||||
toxic -f /home/${USER}/.config/tox/data.tox --force-tcp --SOCKS5-proxy 127.0.0.1 9050
|
toxic -f /home/${USER}/.config/tox/data.tox --force-tcp --SOCKS5-proxy 127.0.0.1 9050
|
||||||
|
|
Loading…
Reference in New Issue