Added start-ttrss.sh script, misc cleanups.

This commit is contained in:
x86dev
2015-09-05 01:00:23 +02:00
parent 051e7ccf23
commit 430b16fae6
3 changed files with 26 additions and 8 deletions

13
start-ttrss.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/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