HEX
Server: Apache
System: Linux bd12.noc223.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: handcraf (1693)
PHP: 8.1.28
Disabled: NONE
Upload Files
File: //usr/lib/systemd/system/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