blob: 6bc42e6f152b215fcb5f210c05b0e848bf3c90e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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
}
|