Only move dbs if they exist
This commit is contained in:
parent
a1a00ff655
commit
3e8e034a5a
1 changed files with 3 additions and 1 deletions
|
@ -41,6 +41,8 @@ fi
|
||||||
alembic -x config=/data/config.yaml upgrade head
|
alembic -x config=/data/config.yaml upgrade head
|
||||||
fixperms
|
fixperms
|
||||||
fixconfig
|
fixconfig
|
||||||
mv -n /data/plugins/*.db /data/dbs/
|
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
|
exec su-exec $UID:$GID python3 -m maubot -c /data/config.yaml
|
||||||
|
|
Loading…
Reference in a new issue