mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
Only move dbs if they exist
This commit is contained in:
parent
a1a00ff655
commit
3e8e034a5a
@ -41,6 +41,8 @@ fi
|
||||
alembic -x config=/data/config.yaml upgrade head
|
||||
fixperms
|
||||
fixconfig
|
||||
if ls /data/plugins/*.db > /dev/null 2>&1; then
|
||||
mv -n /data/plugins/*.db /data/dbs/
|
||||
fi
|
||||
|
||||
exec su-exec $UID:$GID python3 -m maubot -c /data/config.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user