mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
Fixed travis build.
This commit is contained in:
parent
5b3bc6ca0c
commit
53bc05d2ef
|
@ -14,5 +14,5 @@ script:
|
||||||
- sudo ./launcher bootstrap
|
- sudo ./launcher bootstrap
|
||||||
- sudo ./launcher start && sleep 10
|
- sudo ./launcher start && sleep 10
|
||||||
- sudo ./launcher stop --skip-prereqs
|
- sudo ./launcher stop --skip-prereqs
|
||||||
- sudo ./launcher start --docker-args="-h seafile-server" && sleep 10
|
- sudo ./launcher start --docker-args "-h seafile-server" && sleep 10
|
||||||
- sudo ./launcher restart
|
- sudo ./launcher restart
|
||||||
|
|
4
launcher
4
launcher
|
@ -201,7 +201,7 @@ restart() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check_prereqs() {
|
check_prereqs() {
|
||||||
if [[ $skip_prereqs == "true" ]]; then
|
if [[ $SKIP_PREREQS == "true" ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -232,7 +232,7 @@ main() {
|
||||||
bootstrap|oldstart|start|stop|restart|enter|destroy|logs|rebuild)
|
bootstrap|oldstart|start|stop|restart|enter|destroy|logs|rebuild)
|
||||||
action=$1 ; shift 1 ;;
|
action=$1 ; shift 1 ;;
|
||||||
--debug) debug=true ; shift 1 ;;
|
--debug) debug=true ; shift 1 ;;
|
||||||
--skip-prereqs) skip_prereqs=true ; shift 1 ;;
|
--skip-prereqs) SKIP_PREREQS=true ; shift 1 ;;
|
||||||
--docker-args) user_args=$2 ; shift 2 ;;
|
--docker-args) user_args=$2 ; shift 2 ;;
|
||||||
*) err_and_quit "Argument error. Please see help." ;;
|
*) err_and_quit "Argument error. Please see help." ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue