docker-ttrss/start-ttrss.sh

14 lines
337 B
Bash

#!/bin/sh
set -e
# Make sure an old instance of supervisord is not running anymore.
supervisorctl stop all
# Update configuration. This is necessary for entering the current IP + PORT of the database.
/srv/update-ttrss.sh
# Start supervisord.
# This will start all other dependencies.
supervisord -c /etc/supervisor/supervisord.conf