Created
June 4, 2011 16:56
-
-
Save anonymous/1008056 to your computer and use it in GitHub Desktop.
TwiProwlが落ちてたら再度上げるシェルスクリプト。cronから動かす用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ps ax | grep ' TwiProw[l]' | |
if [ $? -eq 1 ]; then | |
cd /path/to/TwiProwl/ | |
./twiprowl | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment