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.
This commit is contained in:
@@ -230,7 +230,6 @@ systemd_unit "akkounts.service" do
|
|||||||
WorkingDirectory: deploy_path,
|
WorkingDirectory: deploy_path,
|
||||||
Environment: "RAILS_ENV=#{rails_env} SOLID_QUEUE_IN_PUMA=true",
|
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",
|
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",
|
ExecReload: "#{bundle_path} exec pumactl -F config/puma.rb --pidfile #{deploy_path}/tmp/puma.pid phased-restart",
|
||||||
PIDFile: "#{deploy_path}/tmp/puma.pid",
|
PIDFile: "#{deploy_path}/tmp/puma.pid",
|
||||||
TimeoutSec: "10",
|
TimeoutSec: "10",
|
||||||
|
|||||||
Reference in New Issue
Block a user