HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //etc/systemd/system/kcare.service
[Unit]

Description=Loads kernelcare patches on startup
DefaultDependencies=no
Wants=network-online.target
After=network-online.target
Before=multi-user.target shutdown.target
Before=sentinelone.service httpd.service sshd.service crond.service exim.service monarx.service pureftpd.service
Conflicts=shutdown.target

[Service]
Type=oneshot
ExecStart=-/usr/bin/kcarectl --smart-update
RemainAfterExit=yes
ExecStop=/bin/sh -c "systemctl list-units --type=service --state=running > /root/kcare_running_at_stop.txt"
ExecStop=-/bin/sh -c "date +'%%s' > /var/cache/kcare/stopped.at"
ExecStop=-/bin/sh -c "rm -rf /var/cache/kcare/.kcareprev.lock"
ExecStop=/bin/sh -c "if [ \"$(systemctl is-system-running 2>/dev/null)\" = stopping ]; then /usr/bin/kcarectl --unload; fi"

[Install]
WantedBy=multi-user.target