[Unit]
Description=AWOOOI reboot auto-recovery 10-minute SLO verifier
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot
User=wooo
Group=wooo
WorkingDirectory=/home/wooo
Environment=HOME=/home/wooo
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Environment=ROOT_DIR=/home/wooo/awoooi-reboot-recovery-slo
Environment=TEXTFILE_DIR=/home/wooo/node_exporter_textfiles
Environment=LOG_DIR=/home/wooo/reboot-recovery
Environment=TARGET_MINUTES=10
ExecStart=/usr/local/bin/awoooi-reboot-auto-recovery-slo.sh
TimeoutStartSec=600
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target
