We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7e1ae commit 43072c0Copy full SHA for 43072c0
templates/service.j2
@@ -14,7 +14,7 @@ EnvironmentFile={{ item.value.timer_envfile }}
14
ExecStartPre={{ item.value.timer_precommand }}
15
{% endif %}
16
ExecStart={{ item.value.timer_command }}
17
-{% if item.value.timer_user is defined %}
+{% if item.value.timer_user is defined and (systemd_scope is not defined or systemd_scope != 'user') %}
18
User={{ item.value.timer_user }}
19
20
{% if item.value.timer_workingdir is defined %}
0 commit comments