kpatch/contrib/kpatch.service

12 lines
215 B
Desktop File

[Unit]
Description="Apply kpatch kernel patches"
ConditionKernelCommandLine=!kpatch.enable=0
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=PREFIX/sbin/kpatch load --all
[Install]
WantedBy=multi-user.target