Allow defining command and args
diff --git a/docker/client/service.sls b/docker/client/service.sls
index 272ba71..462cf3e 100644
--- a/docker/client/service.sls
+++ b/docker/client/service.sls
@@ -29,6 +29,8 @@
{%- for param, value in service.get('limit', {}).iteritems() %} --limit-{{ param }} {{ value }}{%- endfor %}
{%- for param, value in service.get('reserve', {}).iteritems() %} --reserve-{{ param }} {{ value }}{%- endfor %}
{{ service.image }}
+ {%- if service.command is defined %} {{ command }}{%- endif %}
+ {%- for arg in service.get('args', []) %} {{ arg }}{%- endif %}
- unless: "docker service ls | grep {{ name }}"
{%- if service.get('update_service', False) %}