mirror of
https://git.proxmox.com/git/systemd
synced 2025-06-10 00:59:03 +00:00
9 lines
241 B
Desktop File
9 lines
241 B
Desktop File
[Unit]
|
|
Description=Test for AmbientCapabilities (daemon)
|
|
|
|
[Service]
|
|
ExecStart=/bin/sh -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb: 0000000000002001"'
|
|
Type=oneshot
|
|
User=daemon
|
|
AmbientCapabilities=CAP_CHOWN CAP_NET_RAW
|