aboutsummaryrefslogtreecommitdiffstats
path: root/community/dhcp-helper/dhcp-helper.initd
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-10-08 21:35:00 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2018-10-08 21:35:42 -0500
commitd8c154d8781368526e412df2360801e0a451c109 (patch)
tree54b4644ae792791d57cc6f71d17b778026b9ba4d /community/dhcp-helper/dhcp-helper.initd
parent4a37223c57e2c0028b0b907e15738184859ef29a (diff)
downloadaports-d8c154d8781368526e412df2360801e0a451c109.tar.bz2
aports-d8c154d8781368526e412df2360801e0a451c109.tar.xz
community/dhcp-helper: new aport
used in production for a few months, just never got around to committing it
Diffstat (limited to 'community/dhcp-helper/dhcp-helper.initd')
-rw-r--r--community/dhcp-helper/dhcp-helper.initd18
1 files changed, 18 insertions, 0 deletions
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
+}