aports/community/gnunet/gnunet-system-services.initd
2022-02-16 22:59:37 +00:00

19 lines
414 B
Plaintext

#!/sbin/openrc-run
name="gnunet-system-services"
description="A secure and privacy enhancing peer-to-peer overlay network"
command="/usr/lib/gnunet/libexec/gnunet-service-arm"
command_args="-c /etc/gnunet.conf"
command_user="gnunet:gnunet"
command_background="yes"
pidfile="/run/${SVCNAME}.pid"
depend() {
need net
}
start_pre() {
checkpath --directory --owner $command_user --mode 2755 \
/var/lib/gnunet
}