[tor-relays] "Graceful" Restart of Tor-Relay ?

Daniel Jakots vigdis+tor at chown.me
Fri Dec 30 18:37:46 UTC 2016


On Fri, 30 Dec 2016 19:26:17 +0100, mistral.relay at posteo.net wrote:

> Hello all, a newbie question:
> 
> assuming that I want to shut down and restart a running tor-relay
> (for whatever reason; e.g. a linux reboot is required) - is it fine
> to just shut down the relay or is there a nicer, more tor-user
> friendly way so circuits don't drop for them unexpectedly?
> 
> I was thinking about a command to tell tor to complete whatever is 
> ongoing, but to not accept any new circuits or other requests and
> then stop working. Would setting the BandwidthBurst to 0 followed by
> a tor-reload do this over some time (checking with e.g. arm what is
> still ongoing)?

If you use a package, it should come with an init script then you can
use it to reload it. Otherwise, just send Tor a SIGINT then it will stop
accepting new connections and try to stop existing circuit and finally
stop itself.

> 
> _______________________________________________
> tor-relays mailing list
> tor-relays at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays



More information about the tor-relays mailing list