Skip to content

Commit

Permalink
Specifying state dir param for generating TLS cert
Browse files Browse the repository at this point in the history
Merge pull request #25 from dieterplex/patch-1
  • Loading branch information
adyanth authored Nov 25, 2022
2 parents 98e126e + d5c3c78 commit 8466375
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/init.d/tailscale
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ start_service() {

# OpenWRT /var is a symlink to /tmp, so write persistent state elsewhere.
procd_append_param command --state /etc/config/tailscaled.state

# Persist files for TLS cert & Taildrop files
procd_append_param command --statedir /etc/tailscale/

procd_set_param respawn
procd_set_param stdout 1
Expand Down

0 comments on commit 8466375

Please sign in to comment.