reworking l-s startup (#175)
* reworking l-s startup it was failing to retry when starting with an invalid configuration * changed startup routine * start supervisor after update
This commit is contained in:
parent
7eb8052b82
commit
147db125dd
2 changed files with 20 additions and 14 deletions
|
|
@ -62,6 +62,8 @@ perl -i -pe 's/command=.*/command=$ENV{NPM_BIN}\/lamassu-admin-server/g' /etc/su
|
|||
decho "updating lamassu-server"
|
||||
supervisorctl update lamassu-server >> ${LOG_FILE} 2>&1
|
||||
supervisorctl update lamassu-admin-server >> ${LOG_FILE} 2>&1
|
||||
supervisorctl start lamassu-server >> ${LOG_FILE} 2>&1
|
||||
supervisorctl start lamassu-admin-server >> ${LOG_FILE} 2>&1
|
||||
|
||||
decho "updating backups conf"
|
||||
BACKUP_CMD=${NPM_BIN}/lamassu-backup-pg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue