forked from I2P_Developers/i2p.www
update docker run script
This commit is contained in:
@ -32,10 +32,10 @@
|
|||||||
##sudo adduser --disabled-password --disabled-login --ingroup docker docker
|
##sudo adduser --disabled-password --disabled-login --ingroup docker docker
|
||||||
## however the specifics may vary from distribution to distribution.
|
## however the specifics may vary from distribution to distribution.
|
||||||
|
|
||||||
|
dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||||
|
|
||||||
|
if [ -f "${dir}/config.sh" ]; then
|
||||||
if [ -f config.sh ]; then
|
. "${dir}/config.sh"
|
||||||
. config.sh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z $port ]; then
|
if [ -z $port ]; then
|
||||||
|
Reference in New Issue
Block a user