D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
lib
/
systemd
/
system
/
Filename :
lsws.service
back
Copy
# 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