Browse Source

Merge pull request #10901 from ja-pa/tor-respawn

tor: add respawn to init script
lilik-openwrt-22.03
tripolar 5 years ago
committed by GitHub
parent
commit
6b02ed27a1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      net/tor/Makefile
  2. +1
    -0
      net/tor/files/tor.init

+ 1
- 1
net/tor/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tor
PKG_VERSION:=0.4.2.5
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://dist.torproject.org/ \


+ 1
- 0
net/tor/files/tor.init View File

@ -18,5 +18,6 @@ start_service() {
procd_open_instance
procd_set_param command /usr/sbin/tor --runasdaemon 0
procd_set_param respawn
procd_close_instance
}

Loading…
Cancel
Save