diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-12-01 22:28:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2020-12-01 22:28:57 +0000 |
commit | 3ea6f4a404d2486ef1c5da55f1cd0d98c594f157 (patch) | |
tree | 90b25a14bd3f65fc85cf890b5ceb984cb0a472a6 | |
parent | ad478037a3d90ed75d0eb72150238a42c55544e3 (diff) | |
parent | 0a24bbdab25e792b5abe2f3708aceb5a9b3a5e42 (diff) |
Merge "Add network and bluetooth permissions to service template"needlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.013.93.012.93.012.92.012.91.012.90.112.90.011.92.011.91.010.93.010.92.010.91.0
-rw-r--r-- | conf/unit/service.inc | 12 |
1 files changed, 10 insertions, 2 deletions
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 |