> On Aug 23, 2018, at 2:00 PM, Niels Hofmans <[email protected]> wrote:
>
> My logger binary is only ran on startup, so would mean the socket disappears
> again on next start.
> Also, it does close/unlink the socket whenever the program exits.
Sure, if /dev/ is a non-persistent directory. And I don't
how Go-lang implements the unix-domain listen and close
methods. If those do the unlink, you're fine. Still,
worth checking that this is sure to be reliable.
In some cases /dev is persistent, but if it is a ramfs,
created fresh each time, then you're fine.
--
Viktor.