👁 查看:lshttpd.service
路径:/usr/local/lsws/admin/misc/lshttpd.service
大小:675 B · 修改:2026-10-06 06:23:35 · 权限:0555 · 只读
# 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 cagefs.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