DCPValidator/DCPValidator/entry.sh

12 lines
230 B
Bash
Executable File

#!/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