From 061880536bca3cc8ec3664a934e9ccf18253dc21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sat, 11 Apr 2026 14:56:15 +0400 Subject: [PATCH] Fix akkounts systemd unit stop command Typo (not using pumactl), but we don't need to specify it to do the right thing anyway. systemd can just send sigterm on its own. --- site-cookbooks/kosmos-akkounts/recipes/default.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/site-cookbooks/kosmos-akkounts/recipes/default.rb b/site-cookbooks/kosmos-akkounts/recipes/default.rb index 0f9f6d9..f8ec675 100644 --- a/site-cookbooks/kosmos-akkounts/recipes/default.rb +++ b/site-cookbooks/kosmos-akkounts/recipes/default.rb @@ -230,7 +230,6 @@ systemd_unit "akkounts.service" do WorkingDirectory: deploy_path, Environment: "RAILS_ENV=#{rails_env} SOLID_QUEUE_IN_PUMA=true", ExecStart: "#{bundle_path} exec puma -C config/puma.rb --pidfile #{deploy_path}/tmp/puma.pid", - ExecStop: "#{bundle_path} exec puma -C config/puma.rb --pidfile #{deploy_path}/tmp/puma.pid stop", ExecReload: "#{bundle_path} exec pumactl -F config/puma.rb --pidfile #{deploy_path}/tmp/puma.pid phased-restart", PIDFile: "#{deploy_path}/tmp/puma.pid", TimeoutSec: "10",