tor-hs: change rpc service name

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
This commit is contained in:
Jan Pavlinec 2021-03-11 15:41:05 +01:00 committed by Paul Spooren
parent 2ce9215213
commit 4fd4212b88
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tor-hs
PKG_VERSION:=0.0.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
PKG_LICENSE:=GPL-3.0-or-later
@ -58,7 +58,7 @@ define Package/tor-hs/install
$(INSTALL_DIR) $(1)/etc/tor/
$(INSTALL_BIN) ./files/nextcloud-update.sh $(1)/etc/tor/
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
$(INSTALL_BIN) ./files/tor_rpcd.sh $(1)/usr/libexec/rpcd/
$(INSTALL_BIN) ./files/tor_rpcd.sh $(1)/usr/libexec/rpcd/tor-hs-rpc
endef
$(eval $(call BuildPackage,tor-hs))

View File

@ -85,7 +85,7 @@ After that you should also restart rpcd daemon, so you can use tor-hs RPCD servi
RPCD servis helps users to access basic informations about hidden services on router. After running HS it contains onion url for given hidden service in hostname value.
```
root@turris:/# ubus call tor_rpcd.sh list-hs '{}'
root@turris:/# ubus call tor-hs-rpc list-hs '{}'
{
"hs-list": [
{