mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 14:41:33 +08:00
Update entrypoint.sh
This commit is contained in:
parent
ae438e9901
commit
a0c11f84aa
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
sed -i "s|COMMAND|bash napcat/napcat.sh -q $ACCOUNT|" /etc/supervisord.conf
|
||||
|
||||
CONFIG_PATH=napcat/config/onebot11_$ACCOUNT.json
|
||||
# 容器首次启动时执行
|
||||
if [ ! -f "$CONFIG_PATH" ]; then
|
||||
@ -101,4 +99,3 @@ fi
|
||||
|
||||
export FFMPEG_PATH=/usr/bin/ffmpeg
|
||||
bash napcat/napcat.sh -q $ACCOUNT &
|
||||
exec supervisord
|
||||
|
||||
Loading…
Reference in New Issue
Block a user