summaryrefslogtreecommitdiff
path: root/src/systemd/aws-gwlbtun.service
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-08-29 16:06:30 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-09-01 16:37:59 +0000
commit1c49d3ef8855577fb5bfab014ecfbabb10f25532 (patch)
tree8c28bf24a591677b9923669900263b7fb8dc9f31 /src/systemd/aws-gwlbtun.service
parented5d11a7b3e40e13c07823d9336cdc47d440165c (diff)
downloadvyos-1x-1c49d3ef8855577fb5bfab014ecfbabb10f25532.tar.gz
vyos-1x-1c49d3ef8855577fb5bfab014ecfbabb10f25532.zip
T5261: Add AWS load-balancing tunnel handler
Add AWS load-balancing tunnel handler https://aws.amazon.com/blogs/networking-and-content-delivery/how-to-integrate-linux-instances-with-aws-gateway-load-balancer/ set service aws glb script on-create '/config/scripts/tmp.sh' set service aws glb script on-destroy '/config/scripts/tmp.sh' set service aws glb status format 'simple' set service aws glb status port '8282' set service aws glb threads tunnel '4' set service aws glb threads tunnel-affinity '1-2' set service aws glb threads udp '4' set service aws glb threads udp-affinity '0-3'
Diffstat (limited to 'src/systemd/aws-gwlbtun.service')
-rw-r--r--src/systemd/aws-gwlbtun.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/systemd/aws-gwlbtun.service b/src/systemd/aws-gwlbtun.service
new file mode 100644
index 000000000..97d772dec
--- /dev/null
+++ b/src/systemd/aws-gwlbtun.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Description=AWS Gateway Load Balancer Tunnel Handler
+Documentation=https://github.com/aws-samples/aws-gateway-load-balancer-tunnel-handler
+After=network.target
+
+[Service]
+ExecStart=
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target