Download the FAHClient RPM package from the official site. Install the package with dnf

$ sudo dnf -y install <path to fachlient rpm>

Stop the traditional init script service that was created and automatically started.

$ sudo /etc/init.d/FAHClient stop

(Optional) Backup the default configuration file and edit with your user data

$ sudo cp -av /etc/fahclient/config.xml /etc/fahclient/config.xml_bak
$ sudo vi /etc/fahclient/config.xml # (your user data)

Move the init script to another location. Path /usr/local/bin can be changed, but be sure to use the correct path in the service unit file of the next step.

$ sudo mv /etc/init.d/FAHClient /usr/local/bin

Copy the contents of the gist Systemd service unit for Folding@Home Client into (a new) file /etc/systemd/system/fahclient.service. File contents included here:

Then update its ownership and permissions as below

$ sudo chown root:root /etc/systemd/system/fahclient.service
$ sudo chmod u=rw,go=r /etc/systemd/system/fahclient.service

The systemd service unit for FAHClient is installed. Reload systemd manager configuration

$ sudo systemctl daemon-reload

Query the status of service unit.

$ sudo systemctl status --full fahclient.service

Start and stop as a regular systemd service

$ sudo systemctl stop fahclient.service
$ sudo systemctl start fahclient.service

Folding@home is a distributed computing project for disease research that simulates protein folding, computational drug design, and other types of molecular dynamics. See also the Volunteer Computing page.