Fix changedetector restart loop (#2548)

* only restart changedetector, if exit is unexpected.

* prevent supervisord from restarting changedetector on error --> endless loop

* add quotes
This commit is contained in:
Casper 2022-04-19 21:09:25 +02:00 committed by GitHub
parent de61d42e68
commit cbcc3823d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -10,7 +10,7 @@ function _exit_with_error
fi
_log 'error' 'Aborting'
exit 1
exit "${2:-1}"
}
# `dms_panic` methods are appropriate when the type of error is a not recoverable,