[tor-relays] Option to restart TOR automatically after it did crash?

Dennis Ljungmark spider at takeit.se
Sat Aug 31 11:14:31 UTC 2013


If you have systemd(*), you can just change your unit file to contain the
following:
[service]
TimeoutSec = 60
Restart = always
RestartSec=60
StartLimitInterval=10
StartLimitBurst=500

and it will always restart the service.


* Hard to tell on debian.


On Sat, Aug 31, 2013 at 1:10 PM, Paul Staroch <paulchen at rueckgr.at> wrote:

> Am 2013-08-31 12:06, schrieb AFO Server Operator:
> > I search for a option to restart my TOR relays after the TOR process did
> > crash on them? Im running TOR alpha on Debian
>
> Just add something like
>
> */5 * * * * root /etc/init.d/tor start
>
> to /etc/crontab. This will launch the init script for tor every five
> minutes. If tor is running, nothing will happen; if it is not running, it
> will be started.
>
>
> Paul
>
> _______________________________________________
> tor-relays mailing list
> tor-relays at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20130831/427b5a59/attachment.html>


More information about the tor-relays mailing list