mirror of
https://github.com/dynup/kpatch
synced 2025-01-03 03:02:01 +00:00
contrib/service: don't unload modules on stop
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>
This commit is contained in:
parent
288568653a
commit
8909e63c54
@ -6,7 +6,6 @@ ConditionKernelCommandLine=!kpatch.enable=0
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=PREFIX/sbin/kpatch load --all
|
||||
ExecStop=PREFIX/sbin/kpatch unload --all
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user