packet不使用gosu

This commit is contained in:
flyqie 2024-10-21 23:21:53 +08:00
parent 145e726f4a
commit 22557d3bfd

View File

@ -105,7 +105,7 @@ sleep 2
# 方便调试, 或许应该重定向到/dev/null?
if [ "$(arch)" = "x86_64" ]; then
cd /app/napcat.packet/
gosu napcat /app/napcat.packet/napcat.packet.linux 2>&1 &
/app/napcat.packet/napcat.packet.linux 2>&1 &
sleep 2
fi
export FFMPEG_PATH=/usr/bin/ffmpeg