summarylogtreecommitdiffstats
path: root/foldingathome.service
diff options
context:
space:
mode:
authorMaxime Gauduin2020-04-21 17:43:46 +0200
committerMaxime Gauduin2020-04-21 17:43:46 +0200
commit1a05fe7730ebd5bee28550fc3fc4252e6ffe3bcb (patch)
tree683d09d9bd9a0e0615554b493232cfb732d8e398 /foldingathome.service
parent0a0a26f6e9e31df31f74e02a73046abeafb090ce (diff)
downloadaur-1a05fe7730ebd5bee28550fc3fc4252e6ffe3bcb.tar.gz
put logs in /var/log/foldingathome and remove GPUs.txt
Diffstat (limited to 'foldingathome.service')
-rw-r--r--foldingathome.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/foldingathome.service b/foldingathome.service
index d6edba73e687..9546d6dc2655 100644
--- a/foldingathome.service
+++ b/foldingathome.service
@@ -10,11 +10,14 @@ User=fah
SupplementaryGroups=video
DynamicUser=yes
ConfigurationDirectory=foldingathome
+LogsDirectory=foldingathome
StateDirectory=fah
WorkingDirectory=/var/lib/fah
ReadWritePaths=/dev/dri
ExecStartPre=!/usr/bin/chown -R fah:fah /etc/foldingathome
-ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml
+ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml \
+ --log /var/log/foldingathome/log.txt \
+ --log-rotate-dir /var/log/foldingathome
CPUSchedulingPolicy=idle
IOSchedulingClass=3