Sample Header Ad - 728x90

Automatically turn on and off rarely used services

0 votes
1 answer
94 views
I have here a minimal-memory, lowest-budget VM setting, where I would like to use a rarely used big service. I think, things would look really much better, if I could simply turn it off if I do not need it (about 99% of the work day). Fortunately, the tool starts relatively quickly. It is being accessed over a tcp socket. I think, I would put some socket before it, which could auto-start it if there is a request. It could also auto-stop it if there is no access for a while (some minutes or so). Can I somehow do it, maybe with some tricky systemd socket configuration?
Asked by peterh (10448 rep)
Aug 24, 2024, 09:11 PM
Last activity: Aug 24, 2024, 10:06 PM