Update entrypoint.sh
Browse files- entrypoint.sh +1 -3
entrypoint.sh
CHANGED
@@ -2,7 +2,5 @@
|
|
2 |
WEBDAV_USER=${WEBDAV_USER:-"[email protected]"}
|
3 |
WEBDAV_PASSWORD=${WEBDAV_PASSWORD:-"password"}
|
4 |
WEBDAV_URL=${WEBDAV_URL:-"https://webdav.yandex.com/sillytavern"}
|
5 |
-
|
6 |
-
mount -t davfs $WEBDAV_URL /tavern/data -o auto,user
|
7 |
-
ls /tavern/data
|
8 |
exec "$@"
|
|
|
2 |
WEBDAV_USER=${WEBDAV_USER:-"[email protected]"}
|
3 |
WEBDAV_PASSWORD=${WEBDAV_PASSWORD:-"password"}
|
4 |
WEBDAV_URL=${WEBDAV_URL:-"https://webdav.yandex.com/sillytavern"}
|
5 |
+
/tavern/webdav-sync -local_path /tavern/data -password $WEBDAV_PASSWORD -user $WEBDAV_USER -uri $WEBDAV_URL -log_level warn
|
|
|
|
|
6 |
exec "$@"
|