summarylogtreecommitdiffstats
path: root/foldingathome.service
blob: 3218b2409559df1342608bd27f9f2af4d626d967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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

[Install]
WantedBy=multi-user.target