[Unit]
Description=Throttle Instinct MI50 GPU to a desired power cap
After=sysinit.target

[Service]
Type=oneshot
# Set the power limit in watts via environment variable (default: 120W)
Environment="POWER_LIMIT_WATTS=120"
ExecStart=/usr/local/bin/throttle_instinct.sh
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
