summaryrefslogtreecommitdiff
path: root/roles/linux_ns/files/systemd/dn42_bird-lgproxy.service
diff options
context:
space:
mode:
authoruvok cheetah2025-02-09 17:57:14 +0100
committeruvok cheetah2025-02-09 17:57:14 +0100
commita3ee42d1dde090c5baad512ff8707f7e2c068433 (patch)
treea619ef2f51c548a235b188cac19c7cf337686424 /roles/linux_ns/files/systemd/dn42_bird-lgproxy.service
parentbb989a2148686d1eb4f49b5aa2597c5162436196 (diff)
LintingHEADmaster
Diffstat (limited to 'roles/linux_ns/files/systemd/dn42_bird-lgproxy.service')
-rw-r--r--roles/linux_ns/files/systemd/dn42_bird-lgproxy.service24
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/linux_ns/files/systemd/dn42_bird-lgproxy.service b/roles/linux_ns/files/systemd/dn42_bird-lgproxy.service
new file mode 100644
index 0000000..273ab16
--- /dev/null
+++ b/roles/linux_ns/files/systemd/dn42_bird-lgproxy.service
@@ -0,0 +1,24 @@
+[Unit]
+Description=Run Bird Looking Glass Proxy
+Requires=network-online.target dn42_bird.service
+After=network-online.target dn42_bird.service
+After=dn42_namespace.service
+Requires=dn42_namespace.service
+
+[Service]
+ExecStart=/bin/bash /home/lgproxy/start.sh
+BindReadOnlyPaths=/etc/netns/dn42/resolv.conf:/etc/resolv.conf
+User=lgproxy
+WorkingDirectory=/home/lgproxy/
+Environment="LGPROXY_PORT=6042"
+Environment="LGPROXY_CONFIG_FILE=/home/lgproxy/lgp/lgproxy-dn42.cfg"
+NetworkNamespacePath=/run/netns/dn42
+Type=exec
+PrivateTmp=true
+PrivateDevices=true
+PrivateIPC=true
+
+[Install]
+WantedBy=default.target
+
+#Type=simple