crontab update fix + npm rebuild path fix (#166)
This commit is contained in:
parent
f43149dca7
commit
7c4c314df4
1 changed files with 0 additions and 3 deletions
|
|
@ -60,9 +60,6 @@ supervisorctl update lamassu-server >> ${LOG_FILE} 2>&1
|
|||
supervisorctl update lamassu-admin-server >> ${LOG_FILE} 2>&1
|
||||
|
||||
decho "updating backups conf"
|
||||
tempfile=$(mktemp)
|
||||
crontab -l >$tempfile
|
||||
cat $tempfile | grep -v '@daily.*lamassu-backup-pg' | crontab -
|
||||
BACKUP_CMD=${NPM_BIN}/lamassu-backup-pg
|
||||
BACKUP_CRON="@daily $BACKUP_CMD > /dev/null"
|
||||
( (crontab -l 2>/dev/null || echo -n "") | grep -v '@daily.*lamassu-backup-pg'; echo $BACKUP_CRON ) | crontab - >> $LOG_FILE 2>&1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue