diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2019-02-06 17:31:14 +0100 |
---|---|---|
committer | Stéphane Desneux <stephane.desneux@iot.bzh> | 2019-02-06 16:34:43 +0000 |
commit | 46e35ce1ff7da5ceeac8fa50393c5c1c37fccc0a (patch) | |
tree | c4cc81ba417cf11ccb82ab5945b6f793c7650a88 /conf/unit/afm-unit.conf.in | |
parent | 765d08087bf422c821556400a68e1fb4868f85f3 (diff) |
Revert "afm-unit: Restore removal of capabilities"halibut_7.90.0halibut/7.90.07.90.0
This reverts commit f2a2f1357a5268b614528feeba0a91f4ea04a7aa.
Change-Id: I7ff68f27b75c9ddb887470c5579e7b9277aa3613
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'conf/unit/afm-unit.conf.in')
-rw-r--r-- | conf/unit/afm-unit.conf.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/conf/unit/afm-unit.conf.in b/conf/unit/afm-unit.conf.in index 353d83b..50fd957 100644 --- a/conf/unit/afm-unit.conf.in +++ b/conf/unit/afm-unit.conf.in @@ -137,13 +137,12 @@ SmackProcessLabel=User::App::{{:id}} SuccessExitStatus=0 SIGKILL User=%i Slice=user-%i.slice -CapabilityBoundingSet= +#CapabilityBoundingSet= #AmbientCapabilities= {{#required-permission.urn:AGL:permission::platform:no-oom}}OOMScoreAdjust=-500{{/required-permission.urn:AGL:permission::platform:no-oom}} {{#required-permission.urn:AGL:permission::partner:real-time}}IOSchedulingClass=realtime{{/required-permission.urn:AGL:permission::partner:real-time}} +{{#required-permission.urn:AGL:permission::public:display}}SupplementaryGroups=display{{/required-permission.urn:AGL:permission::public:display}} {{^required-permission.urn:AGL:permission::public:syscall:clock}}SystemCallFilter=~@clock{{/required-permission.urn:AGL:permission::public:syscall:clock}} -#{{#required-permission.urn:AGL:permission::public:display}}SupplementaryGroups=display{{/required-permission.urn:AGL:permission::public:display}} -SupplementaryGroups=display %nl WorkingDirectory=-/home/%i/app-data/{{:id}} ExecStartPre=/bin/mkdir -p /home/%i/app-data/{{:id}} |