| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
[Unit] |
| 3 |
Description=Test for AmbientCapabilities (daemon) |
| 4 |
|
| 5 |
[Service] |
| 6 |
ExecStart=bash -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb: 0000000000002001"' |
| 7 |
Type=oneshot |
| 8 |
User=daemon |
| 9 |
AmbientCapabilities=CAP_CHOWN CAP_NET_RAW |