diff options
author | uvok cheetah | 2025-02-02 15:21:26 +0100 |
---|---|---|
committer | uvok cheetah | 2025-02-02 15:21:26 +0100 |
commit | 526797b41c8dfffc7e74a951c17ef96734980e7a (patch) | |
tree | 84e562022de12f2cedc089ae8d0cbfdc02c595e9 /roles/linux-ns/files/systemd/dn42_bird-lgproxy.service | |
parent | 0ee94b306e667225b64804f169f15a961e966511 (diff) |
Add role for Dn42 and network namespace
Diffstat (limited to 'roles/linux-ns/files/systemd/dn42_bird-lgproxy.service')
-rw-r--r-- | roles/linux-ns/files/systemd/dn42_bird-lgproxy.service | 21 |
1 files changed, 21 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..cc48ffb --- /dev/null +++ b/roles/linux-ns/files/systemd/dn42_bird-lgproxy.service @@ -0,0 +1,21 @@ +# bird-lgproxy service for DN42 + +[Unit] +Description=Run Bird Looking Glass Proxy +Requires=network-online.target 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 +User=lgproxy +WorkingDirectory=/home/lgproxy/ +Environment="LGPROXY_PORT=6042" +Environment="LGPROXY_CONFIG_FILE=/home/lgproxy/lgp/lgproxy-dn42.cfg" +NetworkNamespacePath=/run/netns/dn42 + +[Install] +WantedBy=default.target + +#Type=simple |