From d8c154d8781368526e412df2360801e0a451c109 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 8 Oct 2018 21:35:00 -0500 Subject: community/dhcp-helper: new aport used in production for a few months, just never got around to committing it --- community/dhcp-helper/dhcp-helper.initd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 community/dhcp-helper/dhcp-helper.initd (limited to 'community/dhcp-helper/dhcp-helper.initd') diff --git a/community/dhcp-helper/dhcp-helper.initd b/community/dhcp-helper/dhcp-helper.initd new file mode 100644 index 0000000000..77a7f44ca9 --- /dev/null +++ b/community/dhcp-helper/dhcp-helper.initd @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +supervisor=supervise-daemon +description="DHCP relay agent" + +nice="0" +pidfile="/run/dhcp-helper.sd.pid" +supervise_daemon_args="" + +# the args are very site-specific, use dhcp-helper --help to find out what you need +ARGS="" + +command="/usr/sbin/dhcp-helper" +command_args="-n ${ARGS}" + +depend() { + use net + after logger firewall +} -- cgit v1.2.3