1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
systemd-stable/test/test-execute/exec-capabilityboundingset-reset.service
2015-10-31 15:07:19 +01:00

8 lines
238 B
Desktop File

[Unit]
Description=Test for CapabilityBoundingSet
[Service]
ExecStart=/bin/sh -c 'c=$(capsh --print | grep "Bounding set " | cut -f 2 -d "="); echo $c; exit $(test -z $c)'
CapabilityBoundingSet=CAP_FOWNER CAP_KILL
CapabilityBoundingSet=