File: exec-capabilityambientset.service

package info (click to toggle)
systemd 232-25%2Bdeb9u12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,192 kB
  • sloc: ansic: 290,590; xml: 49,217; makefile: 5,503; sh: 4,031; python: 2,596; perl: 1,838
file content (8 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
[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