mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-27 03:21:32 +03:00
70d7aea5c7
The ambient capability tests are only run if the kernel has support for ambient capabilities.
9 lines
236 B
Desktop File
9 lines
236 B
Desktop File
[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 CAP_NET_RAW
|