mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-03 06:56:41 +00:00
13 lines
342 B
SYSTEMD
13 lines
342 B
SYSTEMD
|
[Unit]
|
||
|
Description=Traffic relay node for Tailscale IPN
|
||
|
After=network.target
|
||
|
ConditionPathExists=/var/lib/tailscale/relay.conf
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=/etc/default/tailscale-relay
|
||
|
ExecStart=/usr/sbin/relaynode --config=/var/lib/tailscale/relay.conf --tun=wg0 $PORT $ACL_FILE $FLAGS
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|