summaryrefslogtreecommitdiffstats
path: root/conf/generate-unit-conf
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/generate-unit-conf
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/generate-unit-conf')
-rw-r--r--conf/generate-unit-conf/provided.inc2
-rw-r--r--conf/generate-unit-conf/service.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/generate-unit-conf/provided.inc b/conf/generate-unit-conf/provided.inc
index 3e29294..d9c12a0 100644
--- a/conf/generate-unit-conf/provided.inc
+++ b/conf/generate-unit-conf/provided.inc
@@ -23,7 +23,7 @@ Service=UNIT_NAME_SERVICE
%nl
[Install]
WantedBy=sockets.target
-%systemd-unit wanted-by sockets.target
+%systemd-unit wanted-by agl-user-session@.service
%end systemd-unit
diff --git a/conf/generate-unit-conf/service.inc b/conf/generate-unit-conf/service.inc
index 21e16e3..7e8dd40 100644
--- a/conf/generate-unit-conf/service.inc
+++ b/conf/generate-unit-conf/service.inc
@@ -107,7 +107,7 @@ IF_PERM(:system:run-by-default)
;---------------------------------------------------------------------------------
[Install]
WantedBy=default.target
-%systemd-unit wanted-by default.target
+%systemd-unit wanted-by agl-user-session@.service
ENDIF
%end systemd-unit