openntpd: accept optional service/conf in the runit service.

This commit is contained in:
Juan RP 2015-02-10 09:18:25 +01:00
parent 4607f5147a
commit d43feb1170
2 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,3 @@
#!/bin/sh #!/bin/sh
exec ntpd -ds [ -r conf ] && . ./conf
exec ntpd -d ${OPTS:=-s}

View File

@ -1,7 +1,7 @@
# Template file for 'openntpd' # Template file for 'openntpd'
pkgname=openntpd pkgname=openntpd
version=5.7p3 version=5.7p3
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-privsep-user=$pkgname" configure_args="--with-privsep-user=$pkgname"
makedepends="libressl-devel" makedepends="libressl-devel"