[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #25803 [Core Tor/Tor]: Infinite restart loop when daemon crashes
#25803: Infinite restart loop when daemon crashes
---------------------------+----------------------------------
Reporter: tiejohg2sahth | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: systemd? | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+----------------------------------
Comment (by tiejohg2sahth):
It appears that the file causing this behavior is
''/lib/systemd/system/tor[AT]default.service'' (replace [AT] by @, Trac
thinks it's an email), because of the line:
{{{
Restart=on-failure
}}}
Possibles fix for this:
* remove the Restart= line, the daemon won't restart if it crashed
* add RestartSec=X to increase the time systemd waits before restarting
the daemon, by default it is 100ms
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25803#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs