postal/scripts/start.sh

11 lines
206 B
Bash
Raw Normal View History

2017-04-26 22:35:49 +02:00
#!/bin/bash
## Generate keys if they do not exist
if [[ ! -f /opt/postal/config/signing.key ]]; then
/opt/postal/app/bin/postal initialize-config
fi
## Use augeas to set the MySQL/RabbitMQ setup
## Run