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

This commit is contained in:
gyurix
2025-08-04 14:23:08 +02:00
parent 998be9eb47
commit f138652ea0

View File

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