Skip to content

Commit

Permalink
Merge pull request #308 from skillstream/multi-apps
Browse files Browse the repository at this point in the history
Single name for systemd config template
  • Loading branch information
seuros authored Dec 7, 2020
2 parents 2e9d9b6 + e2f3d64 commit 16f160f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/systemd.rake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace :puma do
task :config do
on roles(fetch(:puma_role)) do |role|
unit_filename = "#{fetch(:puma_service_unit_name)}.service"
git_plugin.template_puma unit_filename, "#{fetch(:tmp_dir)}/#{unit_filename}", role
git_plugin.template_puma 'puma.service', "#{fetch(:tmp_dir)}/#{unit_filename}", role
sudo "mv #{fetch(:tmp_dir)}/#{unit_filename} #{fetch(:puma_systemd_conf_dir)}"
sudo "#{fetch(:puma_systemctl_bin)} daemon-reload"
end
Expand Down

0 comments on commit 16f160f

Please # to comment.