standardnotes-server/packages/files/docker/entrypoint.sh
Karol Sójko de4fcf9a4c
feat: add procedure for recalculating file quota for user (#980)
* 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
2023-12-14 12:31:19 +01:00

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 "$@"