]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-protectkernelmodules-yes-capabilities.service
Merge pull request #14194 from yuwata/network-multipath-routing-12541
[thirdparty/systemd.git] / test / test-execute / exec-protectkernelmodules-yes-capabilities.service
CommitLineData
3ae33295
DH
1[Unit]
2Description=Test CAP_SYS_MODULE for ProtectKernelModules=yes
3
4[Service]
5ProtectKernelModules=yes
6ExecStart=/bin/sh -x -c '! capsh --print | grep cap_sys_module'
7Type=oneshot