summaryrefslogtreecommitdiff
path: root/main/busybox/ntpd.initd
blob: 9850b48800ee2d910712bb431925052054dff6f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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
}