Server : LiteSpeed System : Linux premium163.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : infihsqw ( 644) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/local/lsws/admin/misc/ |
# 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