daemon modeの実装と設定ファイルの位置を変更しました。
設定ファイルは
- -c オプションで指定
- ~/.imaprowl.conf
- `pwd`/imaprowl.conf
- `pwd`/config.yml (deprecated)
- basename(imaprowl.rb)/imaprowl.conf
daemon modeはWindowsでは機能しません。
コマンドラインオプション
$ ./imaprowl.rb --help
Usage: imaprowl [options]
-c, --config FILENAME Specify the config file.
-q, --daemon Enable daemon mode.
-d, --debug Enable debug output.
これでdebつくればDebianにuploadできるかもしれない。な。


