[Unit]
Description=AWOOOI Sensor Agent -- Phase 5.5 神經末梢
After=network.target

[Service]
Type=simple
WorkingDirectory=%h/awoooi-sensor
ExecStart=/usr/bin/python3 -u %h/awoooi-sensor/agent.py --loop --interval 30
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
Environment=AWOOOI_REDIS_URL=redis://192.168.0.188:6380/10
Environment=PYTHONUNBUFFERED=1

[Install]
WantedBy=default.target
