diff options
author | Oskari Rauta <oskari.rauta@gmail.com> | 2023-02-02 13:06:08 +0000 |
---|---|---|
committer | Tianling Shen <cnsztl@gmail.com> | 2023-03-04 08:42:58 +0800 |
commit | a4d8d2459aa4fc0de453b23c34355311366f8d3b (patch) | |
tree | 423c72108006a5da700c036834b298fc958f84d7 /net/netbird/files/netbird.init | |
parent | 7f2306a8e0491159960763954402ec3dfbdb68bb (diff) |
netbird: new package
Netbird is similar vpn service as tailscale and zerotier.
Description:
NetBird is an open-source VPN management platform built on top of WireGuard® making it easy to create secure private networks for your organization or home.
It requires zero configuration effort leaving behind the hassle of opening ports, complex firewall rules, VPN gateways, and so forth.
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
Diffstat (limited to 'net/netbird/files/netbird.init')
-rwxr-xr-x | net/netbird/files/netbird.init | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/netbird/files/netbird.init b/net/netbird/files/netbird.init new file mode 100755 index 000000000..b7ccd2d4b --- /dev/null +++ b/net/netbird/files/netbird.init @@ -0,0 +1,14 @@ +#!/bin/sh /etc/rc.common + +START=99 +STOP=10 + +USE_PROCD=1 + +start_service() { + procd_open_instance + procd_set_param command /usr/bin/netbird + procd_append_param command service run + procd_set_param pidfile /var/run/netbird.pid + procd_close_instance +} |