12 lines
230 B
Bash
12 lines
230 B
Bash
|
#!/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
|