mirror of
https://github.com/systemd/systemd.git
synced 2024-12-11 11:13:58 +08:00
3ae33295f0
This just adds capabilities test.
8 lines
181 B
Desktop File
8 lines
181 B
Desktop File
[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
|