1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/nebula/nebula.initd
Jean-Louis Fuchs 7c4e9eed95 testing/nebula: change initd path to /usr/sbin
nebula installs to /usr/sbin/nebula
2020-05-26 20:38:24 +00:00

19 lines
364 B
Text

#!/sbin/openrc-run
name=$RC_SVCNAME
description="Scalable overlay networking tool"
cfgfile="/etc/$RC_SVCNAME/config.yml"
command="/usr/sbin/$RC_SVCNAME"
command_args="-config $cfgfile"
command_user="$RC_SVCNAME"
supervisor="supervise-daemon"
depend() {
need net
use logger dns
after firewall
provide nebula
}
start_pre() {
$command -config $cfgfile -test
}