You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, this line reloads the systemctl unit for Sidekiq only if the config file is there. This behavior prevents systemd to continuously trying to load a service that it's not ready yet.
But, on new instances, turns out it also prevents loading the service after the code has been deployed. This is because on new instances the first Chef run is a full config one, but the one after the code has been deployed is a shorter one which doesn't start the Sidekiq service.
It's clear then that this logic should be revisited.
The text was updated successfully, but these errors were encountered:
So, this line reloads the
systemctl
unit for Sidekiq only if the config file is there. This behavior prevents systemd to continuously trying to load a service that it's not ready yet.But, on new instances, turns out it also prevents loading the service after the code has been deployed. This is because on new instances the first Chef run is a full config one, but the one after the code has been deployed is a shorter one which doesn't start the Sidekiq service.
It's clear then that this logic should be revisited.
The text was updated successfully, but these errors were encountered: