mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 14:02:24 +01:00
cleanups in APKBUILD remove legacy rc-scripts renaming remove legacy ntp-user checks and creation. make init-script like in opensmtpd
15 lines
232 B
Plaintext
15 lines
232 B
Plaintext
#!/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
|
|
}
|