Hi! I want to discuss this feature before posting it to the FR git. I'm working with a test server that constantly needs php version changes for a site, as every php change needs to wait to ISPC cron job to run, I wonder if it will be a good idea to provide ISPC super admins only, with a button to force IPSC con tasks execution on demand to be able to apply critical changes right away and not wait for cron job to execute. Well, that's my idea, whet do you guys think?
I guess this will break the security barrier between interface and server process by allowing the ispconfig user to run commands as root user, so this is likely to cause security issues and nothing that one would do on a system that is connected to the internet. Plus, it will not work on multiserver systems. Our current design principle is to run the UI as an unprivileged user (the user ispconfig) and have an independent server process running as root while both processes communicate trough the MySQL database. Allowing the interface to run commands as root directly, which would likely be required to start the server process on demand, can be very dangerous. So, if we consider such a functionality, then security aspects have to take the most important role.
What might be a way to do this securely is to let systemd watch for a change of a signal file, set by the UI and user ispconfig, and let systemd then run server.sh. Something like this: https://www.putorius.net/systemd-path-units.html
Forget it Till, it's just my use case and I think it's too mucho overhead, I will just create a subdomain for PHP 7, PHP 8, PHP 8.1 and PHP 8.2