bgnori / isokaze

isokazeの管理情報。中身は空だよ〜
1 stars 0 forks source link

loginをlingrに通知する #5

Open bgnori opened 11 years ago

bgnori commented 11 years ago

https://github.com/ujihisa/login-lingrbot

bgnori commented 11 years ago

いろいろハードコードされてる

引数で指定可能にする予定

いまsshのログインだけみてるけど、journalctlで取得可能な任意のイベントでいける

とりあえずsudo journalctl -fしてみると全イベント見れるよ ¶

apacheのログとか

ujihisa commented 11 years ago
  1. install systemd
  2. test running journalctl -f that keeps giving you the latest events
  3. install login-lingrbot and run. lein run will let you test easily if it can run.
bgnori commented 11 years ago

https://wiki.archlinux.org/index.php/Systemd_%28%E6%97%A5%E6%9C%AC%E8%AA%9E%29

とか読んでsystemdを理解する必要がありそう。