DCPValidator/DCPValidator/entry.sh

12 lines
230 B
Bash
Raw Normal View History

2020-04-27 09:32:33 +00:00
#!/bin/sh
# Starting redis server
/etc/init.d/redis-server start
# Set the correct environment variables
export PORT=8080
. /etc/default/dcp-validator
# Run the worker
exec dcp-validator run worker & exec dcp-validator run web