summaryrefslogtreecommitdiff
path: root/net-vpn/tailscale/files/tailscaled.initd
blob: c7edf4a19f090b1d729d0d832581fdecf0786e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}