Files
extra/openntpd/ntpd.initd
2025-06-22 20:39:04 -05:00

19 lines
377 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
name="OpenNTPD"
command="/usr/sbin/ntpd"
pidfile="/run/ntpd.pid"
command_args="-p ${pidfile} ${NTPD_OPTS}"
depend() {
need net
after ntp-client
use dns logger
}
start_pre() {
checkpath --directory --owner root:ntp --mode 0755 /var/lib/ntp
}