File: example_app.ini

package info (click to toggle)
pastescript 3.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 784 kB
  • sloc: python: 5,212; sh: 65; makefile: 61
file content (26 lines) | stat: -rwxr-xr-x 570 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env paster exe serve
# This file serves the roles of being an rc script, you
# can run it with "./example_wsgiutils_app.ini start"
# plus start and restart.
[exe]
# Here we could set options for how this server should
# start.  These all correspond to command-line options:

# user = username
# group = groupname
# daemon = true
# pid_file = /path/to/pid
# log_file = /path/to/log
# reload = true
# reload_interval = 10

# For this example we'll daemonize:

daemon = true

[server:main]
use = egg:Paste#http
port = 8080

[app:main]
use = egg:PasteScript#test