summarylogtreecommitdiffstats
path: root/foldingathome.service
blob: dea95bc43d7968afd8ce3c6ec317a370fe8bb9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Folding@home distributed computing client
After=network.target

[Service]
Type=simple
User=fah
DynamicUser=yes
ConfigurationDirectory=foldingathome
StateDirectory=fah
WorkingDirectory=/var/lib/fah
ExecStartPre=!/usr/bin/chown -R fah:fah /etc/foldingathome
ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml
CPUSchedulingPolicy=idle
IOSchedulingClass=3

[Install]
WantedBy=multi-user.target