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

[Service]
Type=simple
User=fah
SupplementaryGroups=video
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