initial import
This commit is contained in:
18
openntpd/ntpd.initd
Normal file
18
openntpd/ntpd.initd
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user