HEX
Server: LiteSpeed
System: Linux cluster02.load-balancer.x2.network 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: kbdhpghp (1098)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/local/lsws/admin/misc/lshttpd.service
# should be added as /usr/lib/systemd/system/lshttpd.service
[Unit]
Description=LiteSpeed HTTP Server
After=network-online.target remote-fs.target nss-lookup.target lve_namespaces.service
Wants=network-online.target

[Service]
Type=forking
PIDFile=/var/run/lshttpd.pid
ExecStart=/usr/local/lsws/bin/lswsctrl start 
ExecReload=/usr/local/lsws/bin/lswsctrl reload
ExecStop=/usr/local/lsws/bin/lswsctrl delay-stop

KillMode=none
PrivateTmp=false
#Restart=on-failure
#RestartSec=5

# do not want to be limited in anyway
CPUAccounting=false
TasksAccounting=false
MemoryAccounting=false
OOMScoreAdjust=-500

[Install]
WantedBy=multi-user.target
# Alias=lsws.service