#!/usr/bin/bash if (( `ps -ef|grep $0|grep -v grep | wc -l` > 1 ));then echo "2重起動です" exit 1 fi
Back to top