summaryrefslogtreecommitdiffstats
path: root/conf/generate-unit-conf
diff options
context:
space:
mode:
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