X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=blobdiff_plain;f=conf%2Funit%2Fservice.inc;fp=conf%2Funit%2Fservice.inc;h=dcc576b41a7a955273c44787f3f77005267e7ab6;hp=ea08220aeaffe72cb88d84aad6ff3289234c757d;hb=0a24bbdab25e792b5abe2f3708aceb5a9b3a5e42;hpb=af8db35cc01c57b7d1d2e4fa7815df8c16f8454f diff --git a/conf/unit/service.inc b/conf/unit/service.inc index ea08220..dcc576b 100644 --- a/conf/unit/service.inc +++ b/conf/unit/service.inc @@ -46,13 +46,21 @@ Requires=afm-user-session@%i.target After=user@%i.service ENDIF -After=Network.target - IF_PERM(:public:display) BindsTo=weston@display.service After=weston@display.service ENDIF +IF_PERM(:public:bluetooth) +Wants=bluetooth.target +After=bluetooth.target +ENDIF + +IF_PERM(:public:network) +Wants=network.target +After=network.target +ENDIF + # Adds check to smack ConditionSecurity=smack %nl