mirror of
https://git.proxmox.com/git/systemd
synced 2025-06-12 09:41:07 +00:00
9 lines
271 B
Desktop File
9 lines
271 B
Desktop File
[Unit]
|
|
Description=Test CAP_SYS_MODULE ProtectKernelModules=no
|
|
|
|
[Service]
|
|
ProtectKernelModules=no
|
|
# sed: remove dropped capabilities (cap_xxx-[epi]) from the output
|
|
ExecStart=/bin/sh -x -c 'capsh --print | sed -r "s/[^ ]+?\-[epi]+//g" | grep cap_sys_module'
|
|
Type=oneshot
|