What’s the best way to disable a linux service “e.g. systemctl disable --now systemd-resolved.service &” in a AppVM. I don’t want to disable the service in my template because it’s used by other AppVMs.
Currently, I’m doing this in /rw/config/rc.local by “sleep 5s && sudo systemctl disable --now systemd-resolved.service &”. But it’s probably not the best way as it relies on the startup timing.
What's the best way to disable a linux service "e.g. systemctl disable --now systemd-resolved.service &" in a AppVM. I don't want to disable the service in my template because it's used by other AppVMs.
Currently, I'm doing this in /rw/config/rc.local by "sleep 5s && sudo systemctl disable --now systemd-resolved.service &". But it's probably not the best way as it relies on the startup timing.
Thanks in advance and best, P
I think the canonical way to do that is to use the services tab of the qube to identify which service(s) to start or stop. I am a bit unclear on how that is done exactly, though.