mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 04:05:15 +03:00
20 lines
490 B
Bash
20 lines
490 B
Bash
#!/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/${RC_SVCNAME}.pid"
|
|
|
|
depend() {
|
|
need net
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath --directory --owner $command_user --mode 2755 \
|
|
/var/lib/gnunet
|
|
checkpath --directory --owner $command_user --mode 0755 \
|
|
/run/gnunet
|
|
}
|