| Server IP : 82.180.147.116 / Your IP : 216.73.216.4 Web Server : Apache System : Linux server.vsyshosting.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : demoplace ( 1009) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/1843192/root/proc/1843192/root/usr/lib/systemd/system/ |
Upload File : |
[Unit] Description=Loads kernelcare patches on startup After=multi-user.target [Service] Type=oneshot ExecStart=-/usr/bin/kcarectl --smart-update RemainAfterExit=yes # Record shutdown timestamp for anomaly detection (crash vs proper shutdown). ExecStop=-/bin/sh -c "date +'%%s' > /var/cache/kcare/stopped.at" # Ordinary reboot will lead to the service stopping and we # can delete smart-update lock file. ExecStop=-/bin/sh -c "rm -rf /var/cache/kcare/.kcareprev.lock" # KPT-5409: unload patches only on system shutdown/reboot, not on regular # service stop/restart. kcare_load() handles re-patching atomically so # restarting the service does not require an unload cycle. ExecStop=/bin/sh -c "if [ \"$(systemctl is-system-running 2>/dev/null)\" = stopping ]; then /usr/bin/kcarectl --unload; fi" [Install] WantedBy=multi-user.target