Allow customization of ntp server and use 2. from pools for v6 support

This commit is contained in:
Alex D. 2022-11-24 11:56:47 +00:00
parent 95c831969a
commit c6da8a166c
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
3 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
. ../../APKBUILD.template
pkgname=nnd-s6-services
pkgver=1.15
pkgver=1.16
pkgrel=0
pkgdesc="Base services for s6"
depends="s6-rc s6-portable-utils s6-linux-utils"

1
main/nnd-s6-services/env/ntpd.1/NTPS vendored Normal file
View File

@ -0,0 +1 @@
2.pool.ntp.org

View File

@ -1,10 +1,11 @@
#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/path
importas -i PATH PATH
s6-envdir -i /etc/s6/env/ntpd.1
importas -i NTPS NTPS
emptyenv
export PATH $PATH
define NTPS pool.ntp.org
fdmove -c 2 1