File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7474 ],
7575 "bannedAccounts" : [
7676 ]
77- }
77+ }
Original file line number Diff line number Diff line change 3636 echo " $( timestamp) ERROR: EXTERNAL_CONFIG set but config not found at $ENSHROUDED_CONFIG "
3737 exit 1
3838 fi
39- if [ " $( stat -c ' %u:%g' " $ENSHROUDED_CONFIG " ) " != " 10000:10000" ]; then
40- echo " $( timestamp) ERROR: External config ownership must be 10000:10000"
39+ if [ " $( stat -c ' %u:%g' " $ENSHROUDED_CONFIG " ) " != " 10000:10000" ] && [ " $( stat -c ' %u:%g ' " $ENSHROUDED_CONFIG " ) " != " 0:10000 " ] ; then
40+ echo " $( timestamp) ERROR: External config ownership must be 10000:10000 or 0:10000 "
4141 echo " $( timestamp) INFO: Current ownership is $( stat -c ' %u:%g' " $ENSHROUDED_CONFIG " ) "
4242 echo " $( timestamp) INFO: Adjust ownership and restart the container (e.g. sudo chown 10000:10000 /path/to/your/enshrouded_server.json)"
4343 exit 1
You can’t perform that action at this time.
0 commit comments