]>
Commit | Line | Data |
---|---|---|
22d3cfe5 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
50f130c2 RC |
2 | [Unit] |
3 | Description=Test for AmbientCapabilities | |
4 | ||
5 | [Service] | |
e5ba1d32 | 6 | ExecStart=/bin/sh -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb: 0000000000002001"' |
50f130c2 RC |
7 | Type=oneshot |
8 | User=nfsnobody | |
e5ba1d32 | 9 | AmbientCapabilities=CAP_CHOWN |
50f130c2 | 10 | AmbientCapabilities=CAP_NET_RAW |