ntpd.initd 287 B

123456789101112131415
  1. #!/usr/bin/openrc-run
  2. # Copyright 1999-2013 Gentoo Foundation
  3. # Distributed under the terms of the GNU General Public License v2
  4. supervisor=supervise-daemon
  5. name="OpenNTPD"
  6. command="/usr/bin/ntpd"
  7. command_args="${NTPD_OPTS} -d"
  8. depend() {
  9. need net
  10. after ntp-client
  11. use dns logger
  12. }