Skip to content

Add stopsignal support #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 20, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modulefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name 'tracywebtech-supervisor'
version '1.1.1'
version '1.1.2'
source 'https://github.com/TracyWebTech/puppet-supervisor'
author 'Tracy Web Technologies'
summary 'Install and configure Supervisord'
Expand Down
1 change: 1 addition & 0 deletions manifests/app.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
$stopwaitsecs = undef,
$priority = undef,
$environment = undef,
$stopsignal = undef,
) {

$conf_file = "supervisor_${app_name}"
Expand Down
3 changes: 3 additions & 0 deletions templates/supervisor.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ priority=<%= @priority %>
<%- if @environment %>
environment=<% @environment.each_pair do |key,value| -%><%=key%>="<%=value%>",<% end -%>
<%- end %>
<%- if @stopsignal %>
stopsignal=<%= @stopsignal %>
<%- end %>