Skip to content

Commit 5e54432

Browse files
committed
Merge pull request #3 from victorgama/patch-01
Add stopsignal support
2 parents 2d45a15 + 8cc1499 commit 5e54432

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Modulefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name 'tracywebtech-supervisor'
2-
version '1.1.1'
2+
version '1.1.2'
33
source 'https://github.com/TracyWebTech/puppet-supervisor'
44
author 'Tracy Web Technologies'
55
summary 'Install and configure Supervisord'

manifests/app.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
$stopwaitsecs = undef,
88
$priority = undef,
99
$environment = undef,
10+
$stopsignal = undef,
1011
) {
1112

1213
$conf_file = "supervisor_${app_name}"

templates/supervisor.conf.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ priority=<%= @priority %>
1717
<%- if @environment %>
1818
environment=<% @environment.each_pair do |key,value| -%><%=key%>="<%=value%>",<% end -%>
1919
<%- end %>
20+
<%- if @stopsignal %>
21+
stopsignal=<%= @stopsignal %>
22+
<%- end %>

0 commit comments

Comments
 (0)