summaryrefslogtreecommitdiffstats
path: root/conf/generate-unit-conf/provided.inc
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-20 16:07:09 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:57 +0100
commitee6ac6c21e35553cae86f99bfde8cf05fe90be0a (patch)
tree1a891a6a1322d83e0d87adcefc010f77d8e73709 /conf/generate-unit-conf/provided.inc
parent236d2d857881d4d50da92eb4ed6d4721474806dc (diff)
unit.conf: Fix remaining %t
Change-Id: If9c1c0d8b805e7de6490c75f0465d3455e84eb36 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/generate-unit-conf/provided.inc')
-rw-r--r--conf/generate-unit-conf/provided.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/generate-unit-conf/provided.inc b/conf/generate-unit-conf/provided.inc
index ea335ef..3e29294 100644
--- a/conf/generate-unit-conf/provided.inc
+++ b/conf/generate-unit-conf/provided.inc
@@ -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
@@ -27,6 +27,8 @@ WantedBy=sockets.target
%end systemd-unit
+
+
{{/value=ws|auto}}
{{/provided-api}}