Added start-ttrss.sh script, misc cleanups.
This commit is contained in:
13
start-ttrss.sh
Normal file
13
start-ttrss.sh
Normal 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
|
||||
Reference in New Issue
Block a user