summaryrefslogtreecommitdiff
path: root/net-dialup/rp-pppoe/files/pppoe-server.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-13 09:17:44 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-13 09:17:44 +0100
commitce6655a372b67dbf744e1301300bef7c81ab2cb8 (patch)
tree40205742efceb2af63cdba4faf164309f84f59b6 /net-dialup/rp-pppoe/files/pppoe-server.initd
parent0e968c4f90483490ac9579b6b2da60032ad311d9 (diff)
net-dialup/rp-pppoe : import from gentoo, fix build
Diffstat (limited to 'net-dialup/rp-pppoe/files/pppoe-server.initd')
-rw-r--r--net-dialup/rp-pppoe/files/pppoe-server.initd9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-dialup/rp-pppoe/files/pppoe-server.initd b/net-dialup/rp-pppoe/files/pppoe-server.initd
new file mode 100644
index 00000000..39caee9d
--- /dev/null
+++ b/net-dialup/rp-pppoe/files/pppoe-server.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+description="rp-pppoe server"
+pidfile="/run/pppoe-server.pid"
+command="/usr/sbin/pppoe-server"
+command_args="-I ${PPPOE_INTERFACE:-eth0} -C ${AC_NAME:-$(hostname)} -S ${SERVICE_NAME:-default} -N ${MAX_SESSIONS:-64} -x ${MAX_SESESSION_PER_MAC:-1} -L ${LOCAL_IP:-10.0.0.1.} -k -F ${OTHER_OPTIONS}"
+command_background="true"