summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-12-27 11:07:24 +0300
committerAndrei Belov <defan@nginx.com>2018-12-27 11:07:24 +0300
commitbe049932b100c7a64c0dd261d21b73ea817f8100 (patch)
tree054bcbec7759ce50fdaf1d1c8deb430245182053 /pkg/deb/debian.module
parent325421eac71e83a95edf178fc6ea5ee36c8da1bb (diff)
downloadunit-be049932b100c7a64c0dd261d21b73ea817f8100.tar.gz
unit-be049932b100c7a64c0dd261d21b73ea817f8100.tar.bz2
Packages: Ubuntu 18.10 "cosmic" support added.
Diffstat (limited to 'pkg/deb/debian.module')
-rw-r--r--pkg/deb/debian.module/unit.example-python3.7-config17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-python3.7-config b/pkg/deb/debian.module/unit.example-python3.7-config
new file mode 100644
index 00000000..00c24f23
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-python3.7-config
@@ -0,0 +1,17 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.7",
+ "user": "nobody",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python3.7/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "application": "example_python"
+ }
+ }
+}