Alan Maguire wrote:
hi Jason
i was following legacy routeadm practice here - it
monitored the
running state of such daemons using pidfiles in
/var/tmp. would /tmp
be better, to ensure pidfiles don't hang around
post-reboot?
Wouldn't /var/run be a better location? Or is it meant for something else?
i think you're right, and taking a look, there's certainly a lot of precedents
for pidfiles in that location:
http://cvs.opensolaris.org/source/search?q=%2Fvar%2Frun&defs=&refs=&path=&hist=
While /var/run would certainly be preferable if we need to keep them
around, I'm not sure I see why we still need them. Most usages of PID
files are generally superceded by SMF and contracts.
Dave
_______________________________________________
networking-discuss mailing list
[email protected]