刺身の上にたんぽぽ乗せる日記

プログラミングしたり、自販機の下に落ちてる小銭を集めたりしてます

restartd

http://packages.debian.org/unstable/utils/restartd

Restartd is a daemon for checking your running and not running processes. It reads the /proc directory in every n secs and does a POSIX regexp on the process names. You can execute a script/program if the process is not or it is running.

こんなんあったんだ・・・。今まで手動で書いてたよ・・・。