c_josie_overlay

#!/sbin/openrc-run
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

description="Folding@home v8 Client"

command="/usr/bin/fah-client"
command_args="--config=/etc/fah-client/config.xml --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/"
command_user="fah-client:fah-client"
command_background="yes"
pidfile="/run/${RC_SVCNAME}.pid"
start_stop_daemon_args="--chdir /var/lib/fah-client"

depend() {
	need net
	after firewall
	use logger
}