Systemd/test/test-execute/exec-protectkernellogs-yes-capabilities.service
2019-11-11 12:12:02 -08:00

8 lines
167 B
Desktop File

[Unit]
Description=Test CAP_SYSLOG for ProtectKernelLogs=yes
[Service]
ProtectKernelLogs=yes
ExecStart=/bin/sh -x -c '! capsh --print | grep cap_syslog'
Type=oneshot