aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-07-07 13:50:23 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-07-07 13:50:23 +0200
commit0ee18c0280f67ef458a450c6da408859b8a6734f (patch)
treeb557829776cfcc166796ff9babd35e8557927886
parent8c550986fb98fd0848f0af3117e548d4359e3f5a (diff)
unit.conf: Allow service to run by default
Change-Id: Ifc2d1795041d0254af7db518f64c988bb747200c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--conf/afm-unit.conf.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/conf/afm-unit.conf.in b/conf/afm-unit.conf.in
index e5189fb..7f35a58 100644
--- a/conf/afm-unit.conf.in
+++ b/conf/afm-unit.conf.in
@@ -231,12 +231,10 @@ ExecStart={{:#metadata.install-dir}}/{{content.src}}
; auto start
;---------------------------------------------------------------------------------
{{#required-permission.urn:AGL:permission::system:run-by-default}}
-{{^provided-api}}
%nl
[Install]
WantedBy=default.target
%systemd-unit wanted-by default.target
-{{/provided-api}}
{{/required-permission.urn:AGL:permission::system:run-by-default}}
%end systemd-unit