summarylogtreecommitdiffstats
path: root/foldingathome.service
diff options
context:
space:
mode:
authorMaxime Gauduin2020-04-22 17:44:38 +0200
committerMaxime Gauduin2020-04-22 17:44:38 +0200
commit4a422891382fcb32c466dd530db100d69f986dce (patch)
treebb52dcb1a299a5accc4ddfc0885ec2cdebcdd381 /foldingathome.service
parent9dd9f23860c4a1ac00b0140aa14c748a01d58d17 (diff)
downloadaur-4a422891382fcb32c466dd530db100d69f986dce.tar.gz
sleep for 60 seconds to allow cuda to be detected
Diffstat (limited to 'foldingathome.service')
-rw-r--r--foldingathome.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/foldingathome.service b/foldingathome.service
index dad771c7879d..3f57ff37fd3f 100644
--- a/foldingathome.service
+++ b/foldingathome.service
@@ -15,6 +15,7 @@ StateDirectory=fah
WorkingDirectory=/var/lib/fah
ReadWritePaths=/dev/dri
ExecStartPre=!/usr/bin/chown -R fah:fah /etc/foldingathome
+ExecStartPre=/usr/bin/sleep 60
ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml \
--log /var/log/foldingathome/log.txt \
--log-rotate-dir /var/log/foldingathome