mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
- add gnunet-user-setup script - add interactive support for GNU Name System proxy to setup script - add home directory for system services (/var/lib/gnunet) - improve post install guide
18 lines
414 B
Text
18 lines
414 B
Text
#!/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
|
|
}
|