diff options
Diffstat (limited to 'foldingathome.service')
-rw-r--r-- | foldingathome.service | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/foldingathome.service b/foldingathome.service index dea95bc43d79..c84b82a9f76d 100644 --- a/foldingathome.service +++ b/foldingathome.service @@ -5,6 +5,7 @@ After=network.target [Service] Type=simple User=fah +SupplementaryGroups=video DynamicUser=yes ConfigurationDirectory=foldingathome StateDirectory=fah @@ -14,6 +15,11 @@ ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml CPUSchedulingPolicy=idle IOSchedulingClass=3 +# Nvidia +ReadWritePaths=-/dev/nvidia-uvm +ExecStartPre=!-/usr/bin/nvidia-modprobe +ExecStartPre=!-/usr/bin/nvidia-modprobe -c 0 -u + [Install] WantedBy=multi-user.target |