source: bookmarks/trunk/start @ 69

Last change on this file since 69 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
RevLine 
[54]1#!/bin/sh
2
[65]3export CONFIG_FILE=${1:-"conf.yml"}
4
[59]5starman --listen :5000 --daemonize --pid pid --error-log errors --access-log access
Note: See TracBrowser for help on using the repository browser.