summarylogtreecommitdiffstats
path: root/foldingathome.service
blob: a62b97e1ca770ec69e3a35238f55ef0b87213b48 (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
StateDirectory=fah
WorkingDirectory=/var/lib/fah
ReadWritePaths=/etc/foldingathome/config.xml
ExecStartPre=/usr/bin/cp /etc/foldingathome/config.xml /var/lib/fah/
ExecStart=/usr/bin/FAHClient
CPUSchedulingPolicy=idle
IOSchedulingClass=3

[Install]
WantedBy=multi-user.target