Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
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
$(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))
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": [
{