summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-python3.7-config
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
commit4ca0479c989ba4e15b6ec3a0ff0dc406f7ac05ef (patch)
treeba1af56b544dbc81e3027c35b7f412dedc6a0323 /pkg/deb/debian.module/unit.example-python3.7-config
parenta22fd45248b6a247673d1fd9ab50c183987ab9b4 (diff)
downloadunit-4ca0479c989ba4e15b6ec3a0ff0dc406f7ac05ef.tar.gz
unit-4ca0479c989ba4e15b6ec3a0ff0dc406f7ac05ef.tar.bz2
Packages: Ubuntu 18.10 "cosmic" support added.
Diffstat (limited to '')
-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"
+ }
+ }
+}