From 5bce9c3e1d043e90fb31920e7a1ff5dbe1116124 Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Mon, 30 Dec 2019 13:23:05 +0100 Subject: tor: add respawn to init script Note: In some cases when tor daemon starts before than the router is connected to the Internet. Tor will exit and you have to run it manually. This should fix this case. Signed-off-by: Jan Pavlinec --- net/tor/files/tor.init | 1 + 1 file changed, 1 insertion(+) (limited to 'net/tor/files/tor.init') diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init index ee0818d9d..1480e73eb 100644 --- a/net/tor/files/tor.init +++ b/net/tor/files/tor.init @@ -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 } -- cgit v1.2.3