Skip to content

Commit

Permalink
Add restart to service "supervisord"
Browse files Browse the repository at this point in the history
The restart is needed in order to actually restart the service in case it was already enabled in the ami. If the service was enabled in the AMI, supervisord would have been started without the complete configuration resulting in not starting the ParallelCluster process.

Signed-off-by: Francesco Giordano <[email protected]>
  • Loading branch information
francesco-giordano committed Nov 24, 2023
1 parent 5de32ac commit cd452c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/aws-parallelcluster-platform/recipes/finalize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# Restart supervisord
service "supervisord" do
supports restart: true
action %i(enable start)
action %i(enable start restart)
end unless on_docker?

0 comments on commit cd452c9

Please sign in to comment.