de4fcf9a4c
* fix(auth): safe guard file upload bytes used to be positive intiger * feat: add procedure for recalculating file quota for user * add more meta to logs
20 lines
252 B
Bash
Executable file
20 lines
252 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
COMMAND=$1 && shift 1
|
|
|
|
case "$COMMAND" in
|
|
'start-web' )
|
|
exec node docker/entrypoint-server.js
|
|
;;
|
|
|
|
'start-worker' )
|
|
exec node docker/entrypoint-worker.js
|
|
;;
|
|
|
|
* )
|
|
echo "Unknown command"
|
|
;;
|
|
esac
|
|
|
|
exec "$@"
|