Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #151 from dhollinger/more_pre_release_fixes
Browse files Browse the repository at this point in the history
More build fixes
  • Loading branch information
dhollinger authored Aug 29, 2020
2 parents c13198a + 66aa8af commit adf8b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/vanagon/components/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,7 @@

pkg.add_postinstall_action(%w[install upgrade], 'cd /opt/voxpupuli/webhook && bin/postinst.sh')

pkg.add_postinstall_action('install', 'systemctl enable puppet-webhook puppet-webhook-app puppet-webhook-sidekiq && systemctl restart puppet-webhook')

pkg.add_postremove_action('removal', 'rm -rf /opt/voxpupuli/webhook')
end
2 changes: 1 addition & 1 deletion resources/puppet-webhook-sidekiq.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ After=puppet-webhook.service
EnvironmentFile=-/etc/sysconfig/puppet-webhook
EnvironmentFile=-/etc/default/puppet-webhook
WorkingDirectory=/opt/voxpupuli/webhook
ExecStart=/opt/voxpupuli/webhook/bin/bundle exec sidekiq -C config/sidekiq.yml -r $WorkingDirectory/config/environment.rb
ExecStart=/opt/voxpupuli/webhook/bin/bundle exec sidekiq -C config/sidekiq.yml -r ${WORKDIR}/config/environment.rb
ExecReload=/bin/kill -HUP $PID
KillMode=process

Expand Down

0 comments on commit adf8b3d

Please sign in to comment.