respawning dead tinc process
Daniel J. Grinkevich
danielgrinkevich at gmail.com
Fri Jan 29 15:24:53 CET 2016
This is what we use on our routers, running once a minute via crontab.
> if pgrep "tincd" >/dev/null; then
> echo "tincd is running"
> else
> echo "tincd isn't running, restarting"
> tincd -n nycmesh
> fi
On Fri, Jan 29, 2016 at 9:07 AM, pjv <pjv at pjv.me> wrote:
> I have tinc 1.1pre11 running on various routers and linux cloud servers.
> On one of the cloud servers, under Ubuntu 12.04, tinc is mysteriously dying
> once in a while, leaving a dangling PID. I have been unable to track down
> why it is dying, but it happens infrequently enough that I care less about
> why it is dying than how to robustly respawn it when it dies.
>
> Before I re-invent the wheel, has anyone come up with a solution for
> automatically detecting a dead tincd and respawning the process on linux?
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
>
--
---
GPG Key: 0x160B24D1C08FB4E4
<https://pgp.mit.edu/pks/lookup?op=get&search=0x160B24D1C08FB4E4>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160129/933069e9/attachment.html>
More information about the tinc
mailing list