Skip to content

Commit

Permalink
Merge pull request #20 from EDITD/stopwaitsecs
Browse files Browse the repository at this point in the history
Add stopwaitsecs support.
  • Loading branch information
Fizzadar authored Jul 14, 2017
2 parents da26c2d + 9f4f274 commit f968bac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/task.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ numprocs={{ numprocs }}
{% if stopsignal is defined %}
stopsignal={{ stopsignal }}
{% endif %}
{% if stopwaitsecs is defined %}
stopwaitsecs={{ stopwaitsecs }}
{% endif %}
{# This must always be at the bottom, otherwise the line below will appear on the end of the environment line #}
environment={% if 'USER' not in env_vars %}USER="{{ user }}",{% endif %}{% if 'HOME' not in env_vars %}HOME="/home/{{ user }}",{% endif %}{% for name, value in env_vars.iteritems() %}{{ name }}="{{ value }}",{% endfor %}

0 comments on commit f968bac

Please sign in to comment.