2015-09-05 01:00:23 +02:00
|
|
|
#!/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.
|
2015-09-15 21:46:44 +02:00
|
|
|
/srv/update-ttrss.sh --no-start
|
2015-09-05 01:00:23 +02:00
|
|
|
|
|
|
|
|
# Start supervisord.
|
|
|
|
|
# This will start all other dependencies.
|
|
|
|
|
supervisord -c /etc/supervisor/supervisord.conf
|