summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-protectkernellogs-yes-capabilities.service
blob: 803ba7d5521b6ec9c0e0e36588ff866245dc33ec (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test CAP_SYSLOG for ProtectKernelLogs=yes

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