mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-16 03:02:47 +02:00
16 lines
283 B
Bash
16 lines
283 B
Bash
#!/sbin/openrc-run
|
|
|
|
name="busybox $RC_SVCNAME"
|
|
command="/usr/sbin/$RC_SVCNAME"
|
|
command_args="${NTPD_OPTS:--N -p pool.ntp.org} -n"
|
|
command_user="ntp"
|
|
pidfile="/run/$SVCNAME.pid"
|
|
command_background=true
|
|
capabilities="^cap_sys_time"
|
|
|
|
depend() {
|
|
need net
|
|
provide ntp-client
|
|
use dns
|
|
}
|