]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-ambientcapabilities-nfsnobody.service
Merge pull request #30844 from keszybz/rename-uid-alloc-range
[thirdparty/systemd.git] / test / test-execute / exec-ambientcapabilities-nfsnobody.service
CommitLineData
22d3cfe5 1# SPDX-License-Identifier: LGPL-2.1-or-later
50f130c2
RC
2[Unit]
3Description=Test for AmbientCapabilities
4
5[Service]
63403f07 6ExecStart=sh -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb: 0000000000002001"'
50f130c2
RC
7Type=oneshot
8User=nfsnobody
e5ba1d32 9AmbientCapabilities=CAP_CHOWN CAP_NET_RAW