On Dienstag, 6. März 2012, Petter Reinholdtsen wrote:
>   # exit if its already running
>   # (this shouldnt happen - but will happen if lsof hangs)
>   ps fax|grep -v grep|grep $0 && exit 0

use a lockfile?



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to