Skip to content

Commit

Permalink
feat: Allow different servicetypes
Browse files Browse the repository at this point in the history
  • Loading branch information
timvy authored Apr 19, 2024
1 parent 69eefa4 commit ca82f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/systemd_timer/templates/service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ After={{ timer.after_service }}
{% endif %}

[Service]
Type=oneshot
Type={{ timer.type | default('oneshot') }}
{% if timer.user is defined %}
User={{ timer.user }}
{% endif %}
Expand Down

0 comments on commit ca82f2d

Please sign in to comment.