[Unit]
Description=Atlas OS Loop — Background Signal + Nudge Service (port 7707)
After=network-online.target atlas-mind.service
Wants=network-online.target

[Service]
Type=simple
User=root
WorkingDirectory=/opt/atlas/mind
EnvironmentFile=-/opt/atlas/mind/router-secrets.env
ExecStart=/usr/bin/python3 /opt/atlas/mind/atlas_loop.py
Restart=always
RestartSec=10
StandardOutput=append:/var/log/atlas-loop.log
StandardError=append:/var/log/atlas-loop.log
MemoryMax=256M
TasksMax=32

[Install]
WantedBy=multi-user.target
