summarylogtreecommitdiffstats
path: root/foldingathome.service
diff options
context:
space:
mode:
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 d6edba73e68..9546d6dc265 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