Snorby / snorby

Ruby On Rails Application For Network Security Monitoring
Other
1k stars 226 forks source link

Make worker run on Solaris / Illumos #429

Closed sonnens closed 8 years ago

sonnens commented 8 years ago

Solaris (and Illumos, by extension) uses different format flags for ps(1). This fixes it based on RUBY_PLATFORM. It may enable it to work on other SysV UNIXes (AIX & HPUX) but I'm not confident of that and have no way of testing so I left the check to be explicitly Solaris