Skip to content

Instantly share code, notes, and snippets.

# auth plugin config
'Plugin::Authentication' => {
default_realm => 'freestock_internal_account',
realms => {
freestock_force_authenticate => {
credential => {
class => 'Password',
password_type => 'none',
},
package MyApp;
__PACKAGE__->config(
'Plugin::Authentication' => {
default => {
credential => {
class => 'Facebook::OAuth2',
application_id => $app_id,
application_secret => $app_secret,
},
STARMAN_DEBUG=1 /usr/local/bin/starman --workers 5 --pid /tmp/test.pid --port 4000 --preload-app --user web --group web test.psgi
2011/09/06-16:28:24 Starman::Server (type Net::Server::PreFork) starting! pid(24878)
Binding to TCP port 4000 on host *
Setting gid to "1000 1000"
Setting up serialization via flock
Beginning prefork (5 processes)
Starting "5" children
Child Preforked (24879)
Child Preforked (24880)
Child Preforked (24881)
Starman-0.2008_1
Plack-0.9971
Net::Server-0.97
Debian 5
Kernel 2.6.26-2-686
perl, v5.10.0 built for i486-linux-gnu-thread-multi
procfs not installed