[fixbug] 更新log路径
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ MAA_PY="$SCRIPT_DIR/ArknightsMaaConfig/maa.py"
|
||||
MAA_LOG_DIR="${MAA_LOG:-/var/log/maa.log}"
|
||||
|
||||
if [ -x "$MAA_PY" ]; then
|
||||
"$MAA_PY" > "$MAA_LOG_DIR" 2>&1
|
||||
"$MAA_PY" > "$MAA_LOG_DIR/maa_pyshell.log" 2>&1
|
||||
else
|
||||
python3 "$MAA_PY" > "$MAA_LOG_DIR" 2>&1
|
||||
python3 "$MAA_PY" > "$MAA_LOG_DIR/maa_pyshell.log" 2>&1
|
||||
fi
|
||||
Reference in New Issue
Block a user