忘れたので、メモ。

if [ $(pgrep emacs | wc -l) -eq 0 ]; then
env [email protected]=none emacs --daemon &
fi

ちなみに、[email protected]=none はなくても問題ないが、uim-skkを使っていると邪魔である。