summaryrefslogtreecommitdiff
path: root/extra/openntpd/openntpd.initd
blob: dc9a9ae2bbbf4c5e456a77a8c3f459e27038b6f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
}