summaryrefslogtreecommitdiffstats
path: root/conf/unit/generate-unit-conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-23 17:19:36 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:58 +0100
commitc5b294fe5ccbe4fb9a4d670db12123ab3145dd00 (patch)
tree1393fd4d49172d9a4de159be784a9b9d006cc601 /conf/unit/generate-unit-conf
parenteb2e468e14028935907dbe057edc3826516b3af7 (diff)
unit.conf: Fix target name
Change-Id: I144bcd47b65b86dd07ca5de71514a0032166b3a6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/generate-unit-conf')
-rw-r--r--conf/unit/generate-unit-conf/provided.inc4
-rw-r--r--conf/unit/generate-unit-conf/service.inc4
2 files changed, 4 insertions, 4 deletions
diff --git a/conf/unit/generate-unit-conf/provided.inc b/conf/unit/generate-unit-conf/provided.inc
index 7e085bd..ff1ccf7 100644
--- a/conf/unit/generate-unit-conf/provided.inc
+++ b/conf/unit/generate-unit-conf/provided.inc
@@ -25,8 +25,8 @@ Service=UNIT_NAME_SERVICE
%nl
[Install]
-WantedBy=agl-user-session@.target
-%systemd-unit wanted-by agl-user-session@.target
+WantedBy=afm-user-session@.target
+%systemd-unit wanted-by afm-user-session@.target
%end systemd-unit
diff --git a/conf/unit/generate-unit-conf/service.inc b/conf/unit/generate-unit-conf/service.inc
index ac10f97..b5292d7 100644
--- a/conf/unit/generate-unit-conf/service.inc
+++ b/conf/unit/generate-unit-conf/service.inc
@@ -106,8 +106,8 @@ IF_PERM(:system:run-by-default)
; auto start
;---------------------------------------------------------------------------------
[Install]
-WantedBy=agl-user-session@.target
-%systemd-unit wanted-by agl-user-session@.target
+WantedBy=afm-user-session@.target
+%systemd-unit wanted-by afm-user-session@.target
ENDIF
%end systemd-unit