🎄 Sync 2026-09-05 15:13:21
Merge-upstream / merge (push) Canceled after 0s

This commit is contained in:
github-actions[bot]
2026-09-05 15:13:21 +08:00
parent 70e84ddf56
commit 5f9dbf5e2d
3 changed files with 2 additions and 8 deletions
-2
View File
@@ -2,6 +2,4 @@ config filebrowser 'config'
option enabled '0'
option listen_port '8989'
option root_path '/'
option base_url '/'
option disable_exec '1'
+2 -2
View File
@@ -20,8 +20,8 @@ start() {
config_get root_path "config" "root_path" "/"
echo "Starting filebrowser..."
sed -e "s/ port:.*/ port:$listen_port/" \
-e "s, - path:.*, - path:\"$root_path\"," \
sed -e "s/ port:.*/ port: $listen_port/" \
-e "s, - path:.*, - path: \"$root_path\"," \
-i "$CONF_PATH"
start-stop-daemon -S -q -b -m -p "$PID_FILE" -x "$PROG" -- -c "$CONF_PATH"
}