]> git.ipfire.org Git - thirdparty/tor.git/commit
Adjust systemd watchdog support
authorNick Mathewson <nickm@torproject.org>
Tue, 23 Dec 2014 16:27:16 +0000 (11:27 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 23 Dec 2014 16:27:18 +0000 (11:27 -0500)
commit2f46e5e7558ca3b7dab16fb970d16c1a3dfd190c
tree6cbfbd103fe6dc0363819e760cdde2f4e76660ba
parent29ac883606d6d5ebfdcc2efceb2b4b60ee6a8916
Adjust systemd watchdog support

Document why we divide it by two.

Check for > 0 instead of nonzero for success, since that's what the
manpage says.

Allow watchdog timers greater than 1 second.
src/or/main.c