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

15 lines
416 B
Text
Raw Normal View History

2024-05-10 13:15:49 -07:00
#!/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
}