Menu

#11 Delete the local.sun_path upon exit

v1.0 (example)
open
nobody
5
2012-12-31
2012-12-31
No

When the lldpd is killed and re-run, it's not binding to the socket because of the presence of /var/run/lldpd.sock. So in the signal handler for TERM, INT, KILL unlink the file.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB