On Tue, Feb 25, 2020 at 12:28 PM e9hack <e9h...@gmail.com> wrote: > > Am 15.02.2020 um 11:18 schrieb Rosen Penev: > > It’s the pidfile profs parameter that’s breaking things. > > Your fix doesn't solve the issue. > > commit acabb2cf50726ccafc3cb44aab4307440b2035a4 > tor: fix init scripts > > Tor isn't able to create the pid file and terminates. The reload function > does also not work. This does fix the issues: > > diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init > index 142e2512d..dc4ea9d63 100644 > --- a/net/tor/files/tor.init > +++ b/net/tor/files/tor.init > @@ -32,10 +32,13 @@ generate_conf() { > } > > reload_service() { > - procd_send_signal /usr/sbin/tor > + procd_send_signal tor > } > > start_service() { > + touch /var/run/tor.pid > + chown tor:tor /var/run/tor.pid > + > mkdir -m 0700 -p /var/lib/tor > chown -R tor:tor /var/lib/tor > Weird. Can you make a pull request in the packages feed? > Regards, > Hartmut
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel