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 }