Good morning everyone, and thank you for your interest in my problem.
This is my first time trying to install Open Lite Speed. I installed Open Lite Speed on a Hyper-V virtual machine with Rocky Linux freshly installed and updated.
To install Open Lite Speed, I strictly followed the documentation on the website at this link: https://docs.openlitespeed.org/installation/repo/ quindi:
Now I would like to start Open Lite Speed automatically as a service, but when I try to start it as described in my various searches, it doesn't work because it tells me that the lsws.service service does not exist
However, I can start the Open Lite Speed server with this command:
Now I don't understand how to start Open Lite Speed automatically every time I restart the server.
Thank you for your letter and any replies.wever, every time the virtual machine restarts, I have to re-execute this command, and I haven't found a way to start Open Lite Speed automatically every time the server restarts.
This is my first time trying to install Open Lite Speed. I installed Open Lite Speed on a Hyper-V virtual machine with Rocky Linux freshly installed and updated.
To install Open Lite Speed, I strictly followed the documentation on the website at this link: https://docs.openlitespeed.org/installation/repo/ quindi:
Bash:
sudo wget -O - https://repo.litespeed.sh | sudo bash
sudo dnf install openlitespeed -y
sudo dnf install lsphp84 lsphp84-common lsphp84-mysqlnd
Now I would like to start Open Lite Speed automatically as a service, but when I try to start it as described in my various searches, it doesn't work because it tells me that the lsws.service service does not exist
Bash:
[root@server /]# systemctl start lsws.service
Failed to start lsws.service: Unit lsws.service not found.
However, I can start the Open Lite Speed server with this command:
Bash:
/usr/local/lsws/bin/lswsctrl start
Now I don't understand how to start Open Lite Speed automatically every time I restart the server.
Thank you for your letter and any replies.wever, every time the virtual machine restarts, I have to re-execute this command, and I haven't found a way to start Open Lite Speed automatically every time the server restarts.