fix: ensure that influxdb2 is restarted for token manipulation

This commit is contained in:
oddlama 2023-08-17 01:40:29 +02:00
parent 5eacb319db
commit ad0164c787
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 3 additions and 5 deletions

View file

@ -858,7 +858,7 @@ in {
+ ''
if [[ $any_tokens_created == 1 ]]; then
echo "Created new tokens, forcing service restart so we can manipulate secrets"
kill "$MAINPID"
exit 75 # TEMPFAIL
fi
'';
};