Skip to content

Commit

Permalink
Merge pull request #411 from qld-gov-au/QOLDEV-545-opsworks-decommission
Browse files Browse the repository at this point in the history
[QOLDEV-545] reload Supervisord config as needed on all servers
  • Loading branch information
ThrawnCA authored Apr 3, 2024
2 parents 8696e61 + 3dca0ba commit 62c402e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions recipes/ckan-configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
source "ckan-logrotate"
end

execute "Update supervisor workers if needed" do
command "supervisorctl update"
end

if not system("grep 'alias git=' ~/.bash_profile")
execute "Add CKAN Git alias to Bash" do
command <<-EOS
Expand Down
4 changes: 4 additions & 0 deletions recipes/default-configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
action [:enable,:start]
end

execute "Update supervisor workers if needed" do
command "supervisorctl update"
end

# Re-enable and start in case it was stopped by previous recipe versions
if system('which postfix') then
mailer_daemon = 'postfix'
Expand Down

0 comments on commit 62c402e

Please sign in to comment.