mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
10 lines
256 B
SYSTEMD
10 lines
256 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=nobody
|
||
|
AmbientCapabilities=CAP_NET_ADMIN
|
||
|
AmbientCapabilities=CAP_NET_RAW
|