How can a systemd service tell whether it was started by the system at boot or after (manually or by automatic restart on exit/failure).I have a service that controls other services (a game server) and I want the service to start the game server automatically at boot. However, if the service fails and restarts, or is manually started, I don't want the game server to be started without further input as it takes a lot of resources.In other words, I want the control service to run all the time, but only automatically start the game server the first time is runs.
systemd differentiate automatic start at boot
systemd