summaryrefslogtreecommitdiffstats
path: root/conf/afm-unit-debug.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/afm-unit-debug.conf.in')
-rw-r--r--conf/afm-unit-debug.conf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/afm-unit-debug.conf.in b/conf/afm-unit-debug.conf.in
index a770fbc..2b8a899 100644
--- a/conf/afm-unit-debug.conf.in
+++ b/conf/afm-unit-debug.conf.in
@@ -191,7 +191,7 @@ ExecStart={{:#metadata.install-dir}}/{{content.src}}
;---------------------------------------------------------------------------------
[Install]
WantedBy=default.target
-%systemd-unit wanted-by default.target
+%systemd-unit wanted-by agl-user-session@.service
{{/required-permission.urn:AGL:permission::system:run-by-default}}
%end systemd-unit
;---------------------------------------------------------------------------------
@@ -211,7 +211,7 @@ Service=afm-{{#required-permission.urn:AGL:permission::public:hidden}}service{{/
%nl
[Install]
WantedBy=sockets.target
-%systemd-unit wanted-by sockets.target
+%systemd-unit wanted-by agl-user-session@.service
%end systemd-unit
{{/value=ws|auto}}
{{/provided-api}}