mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 10:45:24 +00:00
13 lines
175 B
Bash
13 lines
175 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = 'run' ]; then
|
|
if [ ! -f "/database.db" ]; then
|
|
filebrowser -s /src
|
|
fi
|
|
|
|
exec filemanager --port 80
|
|
fi
|
|
|
|
exec filemanager --port 80 "$@"
|