net-vpn/tailscale: add ebuild
Package-Manager: Portage-3.0.4, Repoman-2.3.23
This commit is contained in:
parent
3bf9e3c96c
commit
d9f8a9ab11
6 changed files with 89 additions and 0 deletions
14
net-vpn/tailscale/files/tailscaled.initd
Normal file
14
net-vpn/tailscale/files/tailscaled.initd
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue