]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-ambientcapabilities.service
test-execute: use CAP_CHOWN instead of CAP_NET_ADMIN
[thirdparty/systemd.git] / test / test-execute / exec-ambientcapabilities.service
1 [Unit]
2 Description=Test for AmbientCapabilities (daemon)
3
4 [Service]
5 ExecStart=/bin/sh -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb: 0000000000002001"'
6 Type=oneshot
7 User=daemon
8 AmbientCapabilities=CAP_CHOWN CAP_NET_RAW