We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af994cc commit a8b157fCopy full SHA for a8b157f
templates/etc/systemd/system/docker-run.erb
@@ -36,3 +36,6 @@ RemainAfterExit=<%= @remain_after_exit %>
36
37
[Install]
38
WantedBy=multi-user.target
39
+<%- if @service_name -%>
40
+WantedBy=<%= @service_name %>.service
41
+<%- end -%>
0 commit comments