Skip to content

Commit

Permalink
Specifying state dir param for generating TLS cert
Browse files Browse the repository at this point in the history
Fix #24
  • Loading branch information
dieterplex authored Nov 25, 2022
1 parent 98e126e commit d5c3c78
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 d5c3c78

Please sign in to comment.