diff --git a/recipes/ckan-configure.rb b/recipes/ckan-configure.rb index b05cc04..80ac61c 100644 --- a/recipes/ckan-configure.rb +++ b/recipes/ckan-configure.rb @@ -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 diff --git a/recipes/default-configure.rb b/recipes/default-configure.rb index 86784d1..e349d92 100755 --- a/recipes/default-configure.rb +++ b/recipes/default-configure.rb @@ -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'