overlay/net-vpn/tailscale/files/tailscaled.initd

14 lines
416 B
Text

#!/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
}