Skip to content

Commit

Permalink
tor: preserve tor keys over sysupgrade
Browse files Browse the repository at this point in the history
Mark the directories containing the keys for hidden services as
conffiles to preserve them over sysupgrade.

Fixes: #2247

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
hauke committed Jan 15, 2017
1 parent 66b9522 commit 3c3f709
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/tor/Makefile
Expand Up @@ -61,6 +61,8 @@ endef

define Package/tor/conffiles
/etc/tor/torrc
/var/lib/tor/fingerprint
/var/lib/tor/keys/*
endef

CONFIGURE_ARGS += \
Expand Down

0 comments on commit 3c3f709

Please sign in to comment.