Make the update verbose and add tcp_ecn sysctl to base

This commit is contained in:
Alex D. 2024-08-27 12:20:07 +00:00
parent b7d3c4e70f
commit f786a3db10
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
6 changed files with 16 additions and 3 deletions

View File

@ -3,8 +3,8 @@
. ../../APKBUILD.template
pkgname=nnd-s6-services
pkgver=2.90
pkgrel=0
pkgver=2.91
pkgrel=1
pkgdesc="Base services for s6"
depends="s6-rc s6-portable-utils s6-linux-utils"
builddir="$srcdir/"

View File

@ -78,7 +78,7 @@ swap() {
}
update() {
if ! s6-rc-update -l "$S6_LIVE_PATH" "$S6_SV_PATH/current.$(DB_FRESH_NAC)"; then
if ! s6-rc-update -v2 -l "$S6_LIVE_PATH" "$S6_SV_PATH/current.$(DB_FRESH_NAC)"; then
error "Failed to update live state of the database"
return "$?"
fi

View File

@ -0,0 +1,4 @@
#!/bin/execlineb -P
export VAL 2
export SYSCTL net/ipv4/tcp_ecn
/usr/libexec/nnd/s6/sysctl

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1,8 @@
#!/bin/execlineb -P
importas -i XDG_CONFIG_HOME XDG_CONFIG_HOME
export VAL 1
s6-envdir -I ${XDG_CONFIG_HOME}/s6/env/sysctl.net-ipv4-tcp_ecn
export SYSCTL net/ipv4/tcp_ecn
/usr/libexec/nnd/s6/sysctl