diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /net-vpn/tailscale/files | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'net-vpn/tailscale/files')
-rw-r--r-- | net-vpn/tailscale/files/tailscale.tmpfiles | 2 | ||||
-rw-r--r-- | net-vpn/tailscale/files/tailscaled.confd | 6 | ||||
-rw-r--r-- | net-vpn/tailscale/files/tailscaled.initd | 14 |
3 files changed, 22 insertions, 0 deletions
diff --git a/net-vpn/tailscale/files/tailscale.tmpfiles b/net-vpn/tailscale/files/tailscale.tmpfiles new file mode 100644 index 000000000000..f27c77835201 --- /dev/null +++ b/net-vpn/tailscale/files/tailscale.tmpfiles @@ -0,0 +1,2 @@ +#type path mode user group age argument +d /run/tailscale 0755 - - - - diff --git a/net-vpn/tailscale/files/tailscaled.confd b/net-vpn/tailscale/files/tailscaled.confd new file mode 100644 index 000000000000..d65c42925ecf --- /dev/null +++ b/net-vpn/tailscale/files/tailscaled.confd @@ -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="" diff --git a/net-vpn/tailscale/files/tailscaled.initd b/net-vpn/tailscale/files/tailscaled.initd new file mode 100644 index 000000000000..c7edf4a19f09 --- /dev/null +++ b/net-vpn/tailscale/files/tailscaled.initd @@ -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 +} |