mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 11:15:13 +08:00
🎄 Sync 2026-09-05 15:13:21
This commit is contained in:
1 parent
e7e5b29dcc
commit
3456b35a43
3 files changed
+2
-8
No files matched your search
@@ -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"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user