X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf%2Fafm-unit.conf.in;h=e6163e2a9bdb606219764a0c2145464775f166c7;hb=2f04dbc5abc3919e39a9707ce03ee380b7103e0d;hp=7f35a58b39d3aaf66638e15e828513cfc3ce7bcb;hpb=44c6f24d8caf01583e3070be65c8373a8f292172;p=src%2Fapp-framework-main.git diff --git a/conf/afm-unit.conf.in b/conf/afm-unit.conf.in index 7f35a58..e6163e2 100644 --- a/conf/afm-unit.conf.in +++ b/conf/afm-unit.conf.in @@ -13,7 +13,7 @@ ; ; Lines beginning with ; are firstly removed ; -; 2. File instanciation +; 2. File instantiation ; ; Mustache (extended) substitutions are applied using JSON ; data deduced from config.xml file of the widget. @@ -62,7 +62,7 @@ ; ; X-AFM-description={{description}} ; -; Records the descritpion of the unit in the field "description" +; Records the description of the unit in the field "description" ; of both the public and private object describing the unit. ; ; X-AFM--wgtdir={{:#metadata.install-dir}} @@ -109,8 +109,8 @@ ConditionSecurity=smack # Automatic bound to required api {{#required-api}} {{#value=auto|ws}} -BindsTo=afm-api-ws-{{name}} -After=afm-api-ws-{{name}} +BindsTo=afm-api-ws-{{name}}.socket +After=afm-api-ws-{{name}}.socket {{/value=auto|ws}} {{/required-api}} %nl @@ -132,6 +132,7 @@ SuccessExitStatus=0 SIGKILL WorkingDirectory=-{{&#metadata.app-data-dir}}/{{id}} ExecStartPre=/bin/mkdir -p {{&#metadata.app-data-dir}}/{{id}} Environment=AFM_APP_INSTALL_DIR={{:#metadata.install-dir}} +Environment=PATH=/usr/sbin:/usr/bin:/sbin:/bin:{{:#metadata.install-dir}} %systemd-unit user {{#required-permission.urn:AGL:permission::public:hidden}}\