diff options
Diffstat (limited to 'net-misc/ntp-proxy/files/ntp-proxy.init.d')
-rwxr-xr-x | net-misc/ntp-proxy/files/ntp-proxy.init.d | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/ntp-proxy/files/ntp-proxy.init.d b/net-misc/ntp-proxy/files/ntp-proxy.init.d new file mode 100755 index 0000000..6775c0a --- /dev/null +++ b/net-misc/ntp-proxy/files/ntp-proxy.init.d @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +description="Leap second simulation daemon" + +logfile="/var/log/ntp-log.log" + +command="/usr/sbin/ntpproxy" +command_args="${NTP_PROXY_ARGS}" +start_stop_daemon_args="--stdout $logfile --stderr $logfile" + +command_background=yes +pidfile=/run/ntp-proxy.pid + +depend() { + need net + after bootmisc + provide ntp-proxy +} |