mirror of
https://github.com/dynup/kpatch
synced 2024-12-21 12:50:01 +00:00
8909e63c54
The kpatch.service file shouldn't unload patch modules on service stop (this is also executed by systemd on reboot). Patch modules may not be designed to be safely unloaded and/or may patch kernel routines that need to continue to run throughout system bring down. Suggested-by: disaster123 Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
12 lines
215 B
Desktop File
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
|