source: bookmarks/trunk/start @ 66

Last change on this file since 66 was 65, checked in by peter, 11 years ago
  • added a stop shell script
  • start takes an optional config file argument; defaults to "conf.yml"
  • app.psgi:
    • uses the CONFIG_FILE environment variable as its config file name
    • get_controller() takes an environment as its argument, instead of a Plack::Request
  • Property svn:executable set to *
File size: 132 bytes
Line 
1#!/bin/sh
2
3export CONFIG_FILE=${1:-"conf.yml"}
4
5starman --listen :5000 --daemonize --pid pid --error-log errors --access-log access
Note: See TracBrowser for help on using the repository browser.