11 lines
358 B
Text
11 lines
358 B
Text
|
<% if $before_stop { -%>
|
||
|
<%= $before_stop %>
|
||
|
<% } -%>
|
||
|
/usr/bin/<%= $docker_command %> stop --time=<%= $stop_wait_time %> <%= $sanitised_title %>
|
||
|
<% if $remove_container_on_stop { -%>
|
||
|
/usr/bin/<%= $docker_command %> rm <% if $remove_volume_on_stop { %>-v<% } %> <%= $sanitised_title %>
|
||
|
<% } -%>
|
||
|
<% if $after_stop { -%>
|
||
|
<%= $after_stop %>
|
||
|
<% } -%>
|