Skip to content

Commit

Permalink
Update init
Browse files Browse the repository at this point in the history
  • Loading branch information
clion007 authored Jul 6, 2024
1 parent b05ea04 commit 761720a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/init
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ if [ ! "$1" ]; then
set -- "$(sed -n '1p' $XTEVE_FILE)" "$@"
set -- "$(sed -n '2p' $XTEVE_FILE)" "$@"
else
echo "-port=34400
su-exec xteve echo "-port=34400
-config=/root/.xteve/test/
### remove from here including this line ###
### edit your xteve command
### rename to xteve.txt
### restart docker, xteve will run with given parameter
### no xteve.txt it ll start default values -port=34400 -config=/root/.xteve/" > /config/sample_xteve.conf
echo "-port=80
su-exec xteve echo "-port=80
-config=/config/" > $XTEVE_FILE
set -- -port=80 "$@"
set -- -config=/config/ "$@"
Expand Down

0 comments on commit 761720a

Please sign in to comment.