amdgpu: always restart the fan control script
This commit is contained in:
parent
565a970d34
commit
b58b9b1844
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ in
|
|||
script = ''
|
||||
${lib.getExe pkgs.amd-fan-control} /sys/class/drm/card1/device 60 85
|
||||
'';
|
||||
serviceConfig = {
|
||||
Restart = "always";
|
||||
RestartSec = 10;
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue