BLACKSITE
:
216.73.217.173
:
119.18.54.19 / www.yugtechnologies.com
:
Linux sh200.bigrock.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
:
/
etc
/
systemd
/
system
/
Upload File:
files >> //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