mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
19 lines
270 B
Bash
Executable file
19 lines
270 B
Bash
Executable file
#!/bin/bash
|
|
|
|
function start-front-end() {
|
|
python /scripts/start.py
|
|
}
|
|
|
|
function start-back-end() {
|
|
python /scripts/start.py --mode backend
|
|
}
|
|
|
|
case $1 in
|
|
"front-end" )
|
|
start-front-end
|
|
;;
|
|
"back-end" )
|
|
start-back-end
|
|
;;
|
|
esac
|