Skip to content

Commit

Permalink
Change service file to dropin file with required dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
highpingblorg committed Oct 22, 2024
1 parent 647d1f2 commit 081c06d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 41 deletions.
15 changes: 15 additions & 0 deletions templates/dynflow-sidekiq-overrides.conf.epp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<%- |
Optional[Redis::RedisUrl] $redis_host,
| -%>

# This file is managed by Puppet

[Service]
User=<%= $foreman::user %>
Environment=RAILS_ENV=<%= $foreman::rails_env %>
<% if $redis_host { -%>
Environment=DYNFLOW_REDIS_URL=<%= $redis_host %>
<% } -%>
<% else { -%>
Environment=DYNFLOW_REDIS_URL=redis://localhost:6379/6
<% } -%>
41 changes: 0 additions & 41 deletions templates/[email protected]

This file was deleted.

0 comments on commit 081c06d

Please sign in to comment.