HEX
Server: LiteSpeed
System: Linux chromium.pvtwebs.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: plandeptncgov (1317)
PHP: 8.3.31
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/systemd/system/libcare.service
[Unit]
Description=LibCare patch server

[Service]
ExecStartPre=/usr/bin/kcarectl --has-flags libcare-enabled
ExecStart=/usr/libexec/kcare/libcare-server -v -o /var/log/libcare/server.log -S &3
SuccessExitStatus=143

# Only send `stop` when the server is still running (MAINPID is set).
# If the server already terminated on its own, MAINPID is unset and we must
# not connect through the socket: that would trigger socket activation,
# start a new instance, which receives `stop` and exits, causing a loop.
# Use if/fi instead of && to return 0 when skipping, so systemd does not
# mark the service as "failed".
ExecStop=/bin/sh -c 'if test "$${MAINPID:-x}" != x; then echo "ExecStop: sending stop to MAINPID=$$MAINPID"; LIBCARE_CLIENT_TIMEOUT=10 /usr/libexec/kcare/libcare-client stop; else echo "ExecStop: server already exited, skipping stop (MAINPID=$$MAINPID)"; fi'