New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpine package #402
Comments
#!/sbin/openrc-run
CONFIGFILE=/etc/yggdrasil.conf
PIDFILE=/run/yggdrasil.pid
LOGFILE=/run/yggdrasil.log
YGGDRASIL_BIN=/usr/local/bin/yggdrasil
depend() {
need net
after firewall
before radvd
}
checkconfig() {
if [ ! -f "${CONFIGFILE}" ]; then
eerror "Configuration file ${CONFIGFILE} not found"
return 1
fi
}
start() {
checkconfig || return 1
ebegin "Starting Yggdrasil node"
modprobe tun
start-stop-daemon --start --exec ${YGGDRASIL_BIN} \
--background --make-pidfile --pidfile ${PIDFILE} \
--stdout "${LOGFILE}" \
-- -useconffile "${CONFIGFILE}"
eend $?
}
stop() {
ebegin "Stopping Yggdrasil node"
start-stop-daemon --stop --exec ${YGGDRASIL_BIN} \
--pidfile ${PIDFILE}
eend $?
}
|
@kpcyrd could you dupe process of getting this into community? Thanks for supporting cjdns in Alpine too. |
https://lists.alpinelinux.org/~alpine/aports/patches/3341 Package sent upstream |
Thanks @ddevault, very much appreciated! |
The package is in Alpine, could the issue be closed? https://pkgs.alpinelinux.org/packages?name=yggdrasil&branch=edge |
Yes, this can be closed. |
Thanks very much for maintaining this, I'll close the issue. |
Apk add go musl-dev git
cloned repo, ./build all
tested on armv6 postmarketos. Awesome!
basics work. had to comment multicast
panic udp6 protocol not available.
Package would be nice!
The text was updated successfully, but these errors were encountered: