aports/main/openntpd/openntpd.initd
Valery Kartel 89b858eff5 main/openntpd: remove legacy stuff, cleanups
cleanups in APKBUILD
remove legacy rc-scripts renaming
remove legacy ntp-user checks and creation.
make init-script like in opensmtpd
2017-06-02 08:06:39 +00:00

14 lines
232 B
Bash

#!/sbin/openrc-run
name="NTP Server"
command=/usr/sbin/ntpd
command_args="-d $NTPD_OPTS"
command_background=yes
pidfile=/run/$RC_SVCNAME.pid
required_files=/etc/ntpd.conf
depend() {
need net
provide ntp-client
use dns logger
}