HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

test/test-execute/exec-ambientcapabilities-merge-nobody.service

Git blob: af6cf01771e50a9b58aaf1b91c0922aef6d342a7

Lines 1–11 of 11

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for AmbientCapabilities
 
[Service]
ExecStart=bash -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb:	0000000000002001"'
Type=oneshot
User=nobody
AmbientCapabilities=CAP_CHOWN
AmbientCapabilities=CAP_NET_RAW