I have a rpi 2w system as a server, and I have a a few services running. The most important ones being adguard, docker and syncthing, I want 100% uptime on these. However the problem that arrises is when I use a dietpi tool to configure my system, like dietpi-software to install anything it shuts down my important services docker and syncthing (except adguard). The problem becomes it starts my services back but it has issues. docker only starts some of my containers (that is not my main problem here) and syncthing starts syncing everything that puts a huge load on the cpu and slows my dns down which puts my whole lan to a standstill.
I was thinking is there a way to stop critical services from being stopped/ restarted.