summaryrefslogtreecommitdiffstats
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 14:08:42 +0200
commit44c6f24d8caf01583e3070be65c8373a8f292172 (patch)
tree69ea0d38103745f3e53f627fab56fd9ec7f7368d
parent9039c0be54353ac3a519da2006824847061f0539 (diff)
unit.conf: Allow service to run by default
Bug-AGL: SPEC-734 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