yggdrasil: redirect service stdout to /dev/null to avoid flooding tty1

This commit is contained in:
whoami 2019-03-30 23:28:04 +03:00 committed by maxice8
parent 43de7a21dc
commit c13966c7be
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
if [ -f /etc/yggdrasil.conf ]; then
exec /usr/bin/yggdrasil --useconffile /etc/yggdrasil.conf
exec /usr/bin/yggdrasil --useconffile /etc/yggdrasil.conf 1>/dev/null
else
exec /usr/bin/yggdrasil --autoconf
exec /usr/bin/yggdrasil --autoconf 1>/dev/null
fi

View File

@ -1,7 +1,7 @@
# Template file for 'yggdrasil'
pkgname=yggdrasil
version=0.3.5
revision=1
revision=2
wrksrc="yggdrasil-go-${version}"
build_style=go
go_import_path=github.com/yggdrasil-network/yggdrasil-go