aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-12 19:42:11 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-12 19:43:38 +0200
commitd266bd8816f5a2647e011f5b23698bf2d788b91b (patch)
tree5377e001e4eaa48cf2dda0c83d725dcb7e6ad1ea /conf
parentec742c3191df4aeda4cedd4761fd0b144d66ecd9 (diff)
Fix service name within socket units
Change-Id: Ic8e562dd31a9bf7e3f1e22f0cda8e381242e3468 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r--conf/afm-unit.conf.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/conf/afm-unit.conf.in b/conf/afm-unit.conf.in
index fc0c006..39a59d1 100644
--- a/conf/afm-unit.conf.in
+++ b/conf/afm-unit.conf.in
@@ -259,19 +259,17 @@ ListenStream=%t/bindings/{{name}}
FileDescriptorName={{name}}
{{#required-permission.urn:AGL:permission::public:hidden}}\
-Service=afm-service-{{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}}
+Service=afm-service-{{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}}.service
{{/required-permission.urn:AGL:permission::public:hidden}}\
{{^required-permission.urn:AGL:permission::public:hidden}}\
-Service=afm-appli-{{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}}
+Service=afm-appli-{{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}}.service
{{/required-permission.urn:AGL:permission::public:hidden}}\
;---------------------------------------------------------------------------------
-{{#required-permission.urn:AGL:permission::system:run-by-default}}
%nl
[Install]
WantedBy=default.target
%systemd-unit wanted-by default.target
-{{/required-permission.urn:AGL:permission::system:run-by-default}}
;---------------------------------------------------------------------------------
%end systemd-unit