Re: [gentoo-dev] detecting if a file is used or not

2008-01-24 Thread Petteri Räty
Alin Năstac kirjoitti: How could I detect in a init script if a socket file is used or not? I need to be sure I can delete it before starting the service. I would hate to add sys-process/psmisc to RDEPEND just for this (fuser seems to be the only way of doing that). [EMAIL PROTECTED] /usr/por

[gentoo-dev] detecting if a file is used or not

2008-01-24 Thread Alin Năstac
How could I detect in a init script if a socket file is used or not? I need to be sure I can delete it before starting the service. I would hate to add sys-process/psmisc to RDEPEND just for this (fuser seems to be the only way of doing that). signature.asc Description: OpenPGP digital signatur