daemontoolsでircdを管理する

ircdの-tオプションを使えばフォアグラウンドで動きやがるのでそれを利用すればOK。

runスクリプト

#!/bin/sh

exec env - PATH="$PATH" \
/path/to/ircd/sbin/ircd -t 2>&1