Skip to content

Commit

Permalink
systemd service overrides: restore whitespace to pre-conversion
Browse files Browse the repository at this point in the history
When these templates were converted from ERB to EPP in commit
3e101cb (#944), these lines were
swapped, causing a whitespace change and unnecessary service restarts.
  • Loading branch information
kenyon committed Jul 3, 2024
1 parent 715743d commit 1507886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<% if $service_after_override { -%>
[Unit]
After=<%= $service_after_override %>
<% } -%>
After=<%= $service_after_override %>

<% } -%>
[Service]
EnvironmentFile=-/etc/default/docker
EnvironmentFile=-/etc/default/docker-storage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<% if $service_after_override { -%>
[Unit]
After=<%= $service_after_override %>
<% } -%>

<% } -%>
[Service]
EnvironmentFile=-/etc/sysconfig/docker
EnvironmentFile=-/etc/sysconfig/docker-storage
Expand Down

0 comments on commit 1507886

Please sign in to comment.