14 lines
348 B
Bash
Executable File
14 lines
348 B
Bash
Executable File
#!/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 --no-start
|
|
|
|
# Start supervisord.
|
|
# This will start all other dependencies.
|
|
supervisord -c /etc/supervisor/supervisord.conf
|