[Unit] Description=Elemental System Agent Documentation=https://github.com/rancher/system-agent Wants=network-online.target After=network-online.target ConditionPathExists=!/run/cos/live_mode ConditionPathExists=!/etc/systemd/system/rancher-system-agent.service [Install] WantedBy=multi-user.target [Service] Type=simple Restart=always RestartSec=5s StandardOutput=journal+console StandardError=journal+console Environment="CATTLE_AGENT_CONFIG=/etc/rancher/elemental/agent/config.yaml" Environment="CATTLE_LOGLEVEL=debug" ExecStart=/usr/sbin/elemental-system-agent sentinel ExecStop=sleep 10