Update CMD in service-filebrowser.json to use absolute path for filebrowser binary

This commit is contained in:
gyurix
2025-08-04 14:21:49 +02:00
parent 064ad0286c
commit 998be9eb47

View File

@@ -61,7 +61,7 @@
"DEPEND": [],
"START_ON_BOOT": "false",
"ENTRYPOINT": "sh",
"CMD": "if [ ! -f /database.db ]; then /filebrowser config init && /filebrowser users add \"$FILEBROWSER_USER\" \"$FILEBROWSER_PASS\" --perm.admin && /filebrowser ; else /filebrowser ; fi",
"CMD": "if [ ! -f /database.db ]; then /bin/filebrowser config init && /bin/filebrowser users add \"$FILEBROWSER_USER\" \"$FILEBROWSER_PASS\" --perm.admin && /bin/filebrowser ; else /filebrowser ; fi",
"PRE_START": "null",
"POST_START": [
"firewall-filebrowser",