lib/generators/rocket_cms/templates/deploy.erb in rocket_cms-0.35.0 vs lib/generators/rocket_cms/templates/deploy.erb in rocket_cms-0.36.0

- old
+ new

@@ -11,9 +11,12 @@ set :use_sudo, false set :puma_state, -> { File.join(shared_path, 'tmp', 'puma', 'state') } set :puma_pid, -> { File.join(shared_path, 'tmp', 'puma', 'pid') } set :puma_conf, -> { File.join(current_path, 'config', 'puma.rb') } +set :puma_preload_app, false +set :puma_service_unit_name, "puma" +set :puma_systemctl_user, :user Rake::Task["puma:check"].clear Rake::Task["puma:config"].clear namespace :puma do task :check do