net-vpn/tailscale: add files

This commit is contained in:
Jared Allard 2024-05-10 13:15:49 -07:00
parent 95938314b1
commit 6ed9047f1f
Signed by: jaredallard
SSH key fingerprint: SHA256:wyRyyv28jBYw8Yp/oABNPUYvbGd6hyZj23XVXEm5G/U
3 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#type path mode user group age argument
d /run/tailscale 0755 - - - -

View file

@ -0,0 +1,6 @@
# /etc/conf.d/tailscaled
# the port for tailscaled to listen on
#tailscaled_port=41641
# extra arguments passed to the daemon
#tailscaled_args=""

View file

@ -0,0 +1,14 @@
#!/sbin/openrc-run
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="tailscaled"
description="Tailscale node agent"
command=/usr/sbin/tailscaled
command_args="--state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port ${tailscaled_port:-41641} ${tailscaled_args}"
supervisor=supervise-daemon
depend() {
need net
use logger
}