mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
9 lines
239 B
SYSTEMD
9 lines
239 B
SYSTEMD
|
[Unit]
|
||
|
Description=Test for AmbientCapabilities
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/bin/sh -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb: 0000000000003000"'
|
||
|
Type=oneshot
|
||
|
User=nfsnobody
|
||
|
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_RAW
|