(sh)ユーザチェック

以下のチェックを入れる。 ただし、boneshell用

if test `whoami` != 'jboss'; then
 echo "jbossユーザで起動してください。"
 exit 1;
fi

2014/8/11
最終更新:2014年08月11日 11:44