Thanks! I've changed my script to test it and will see how it goes. In the meantime I have 2 questions about this:
What's the difference between these two methods? I've seen a post that said it has to do with how lsws is started, but I would guess it's the same for both servers. Or isn't it?
If...
Recently I've configured a second dedicated server for hosting WordPress sites for clients. I've got another one that's running for about 4 years.
Server 1: Almalinux 8 + DirectAdmin + OLS
Server 2: Almalinux 10 + DirectAdmin + OLS
Because we need a restart of the webserver after a change in...