mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-22 06:38:27 +00:00
Warn when the SavedArks directory is not writable
This commit is contained in:
parent
ab6bf806dc
commit
326d753b40
@ -195,6 +195,14 @@ checkConfig() {
|
|||||||
echo -e "[" "$YELLOW" "WARN" "$NORMAL" "]" "\tYour ARK server exec could not be found."
|
echo -e "[" "$YELLOW" "WARN" "$NORMAL" "]" "\tYour ARK server exec could not be found."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# SavedArks directory
|
||||||
|
if [ -n "$arkserverroot" ]; then
|
||||||
|
local savedarksdir="${arkserverroot}/ShooterGame/Saved/${ark_AltSaveDirectoryName:-SavedArks}"
|
||||||
|
if [ ! -w "${savedarksdir}" ]; then
|
||||||
|
echo -e "[" "$RED" "ERROR" "$NORMAL" "]" "\tThe ARK SavedArks directory is not writable, and saveworld will fail"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Service configuration
|
# Service configuration
|
||||||
# logdir
|
# logdir
|
||||||
if [ ! -w "$logdir" ] ; then
|
if [ ! -w "$logdir" ] ; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user