summaryrefslogtreecommitdiffstats
path: root/conf/afm-unit.conf.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-21 14:58:00 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:58 +0100
commit094ea33c950a711956e0b894eaa974edf2d102ed (patch)
tree22baafb7ff6ab3665fcef2f20f36ddea62cba190 /conf/afm-unit.conf.in
parenta50fe2cb853022f2dd2c02fd1a230e3050bbf524 (diff)
unit.conf: Bound start to agl-user-session
Change-Id: Ic9731dbc9ee71872198ad70995dbaced8a7aa683 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/afm-unit.conf.in')
-rw-r--r--conf/afm-unit.conf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/afm-unit.conf.in b/conf/afm-unit.conf.in
index 11ad15a..5338df4 100644
--- a/conf/afm-unit.conf.in
+++ b/conf/afm-unit.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}}