mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 02:36:39 +02:00
cleanups in APKBUILD remove legacy rc-scripts renaming remove legacy ntp-user checks and creation. make init-script like in opensmtpd
14 lines
232 B
Bash
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
|
|
}
|