mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
8 lines
181 B
SYSTEMD
8 lines
181 B
SYSTEMD
|
[Unit]
|
||
|
Description=Test CAP_SYS_MODULE for ProtectKernelModules=yes
|
||
|
|
||
|
[Service]
|
||
|
ProtectKernelModules=yes
|
||
|
ExecStart=/bin/sh -x -c '! capsh --print | grep cap_sys_module'
|
||
|
Type=oneshot
|