From 92c05f403f23204b49fc91f0487ca91c2db240c6 Mon Sep 17 00:00:00 2001 From: sasha0552 Date: Sat, 27 Jul 2024 14:29:55 +0000 Subject: [PATCH] [misc] Always restart nvidia-pstated --- airootfs/etc/systemd/system/nvidia-pstated.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/airootfs/etc/systemd/system/nvidia-pstated.service b/airootfs/etc/systemd/system/nvidia-pstated.service index 071bd78..72dd810 100644 --- a/airootfs/etc/systemd/system/nvidia-pstated.service +++ b/airootfs/etc/systemd/system/nvidia-pstated.service @@ -1,10 +1,11 @@ [Unit] -Description=A daemon that automatically manages the performance states of NVIDIA GPUs. +Description=A daemon that automatically manages the performance states of NVIDIA GPUs +StartLimitInterval=0 [Service] DynamicUser=yes ExecStart=/usr/local/bin/nvidia-pstated -Restart=always +Restart=on-failure RestartSec=1s [Install]