diff options
author | PÁLI Gábor János <pali.gabor@gmail.com> | 2022-11-29 04:53:11 +0100 |
---|---|---|
committer | PÁLI Gábor János <pali.gabor@gmail.com> | 2022-11-29 05:19:56 +0100 |
commit | c0713400778eb412d113ea217982a586d79f35fe (patch) | |
tree | 1daa03547c5f1c17a624a72f7a14f9d17f1ed58e /aports/forwarding/forwarding.initd | |
parent | 14a3e2bad5c174b8a4ee5a4890e16145a23f39f1 (diff) | |
download | freebsd-wifibox-alpine-c0713400778eb412d113ea217982a586d79f35fe.zip |
Implement a forwarding service.
- Add the `forwarding` system service (script + OpenRC support).
- Enable support for UDP ports for `socat`.
- Adjust UDS pass-through to avoid conflicts with forwarding.
- Update documentation.
Requested by: Universal Devices
Diffstat (limited to 'aports/forwarding/forwarding.initd')
-rw-r--r-- | aports/forwarding/forwarding.initd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/aports/forwarding/forwarding.initd b/aports/forwarding/forwarding.initd new file mode 100644 index 0000000..fd63aa0 --- /dev/null +++ b/aports/forwarding/forwarding.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon +name="Forwarding service" +description="Forwarding support" + +command=/sbin/forwarding +command_background=true + +depend() { + need net + after firewall +} |