Skip to content

Commit

Permalink
Merge pull request #86 from pieterlexis/execstart-override
Browse files Browse the repository at this point in the history
Ensure ExecStart{,Pre} is overridden, not appended
  • Loading branch information
pieterlexis authored Sep 29, 2020
2 parents 2304d86 + c353e42 commit e6bcd16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/override-service.systemd.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[Service]
{% for k, v in pdns_service_overrides.items() %}
{% if k == 'ExecStart' %}ExecStart=
{% elif k == 'ExecStartPre' %}ExecStartPre=
{% endif %}
{{ k }}={{ v }}
{% endfor %}

0 comments on commit e6bcd16

Please sign in to comment.