unit.conf: Bound start to agl-user-session
[src/app-framework-main.git] / conf / generate-unit-conf / provided.inc
index ea335ef..d9c12a0 100644 (file)
@@ -15,7 +15,7 @@ dnl vim: set filetype=sysctl.conf.m4 syntax=sysctl.conf.m4:
 
 [Socket]
 SmackLabel=*
-ListenStream=%t/apis/ws/{{name}}
+ListenStream=USER_RUN_DIR/apis/ws/{{name}}
 FileDescriptorName={{name}}
 
 Service=UNIT_NAME_SERVICE
@@ -23,10 +23,12 @@ 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
 
+
+
 {{/value=ws|auto}}
 {{/provided-api}}