kivagant/runonce (packagist): Run any shell command only once (deny concurrent execution)
Keywords: shell|pid|once