I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to check if service 2 is up and running on other machine and only then has to start Service 1.
Hi. I switched to a pure systemd setup, now I'm not sure which daemons are set up to run at boot. Before it was very simple because all I had to do is look in rc.conf.Someone on irc (sudokode - thanks) suggested "systemctl disable <tab> <tab>". It is a nice trick but I'm sure it is not needed, right?