mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
15 lines
305 B
Bash
15 lines
305 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,^cap_net_bind_service"
|
|
|
|
depend() {
|
|
need net
|
|
provide ntp-client
|
|
use dns
|
|
}
|