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
commitd959300e0bf2445bf3915e12d670b099c6559e43 (patch)
treee0978e082997dd52df6cf4a3d8b2664040877727 /pkg/deb/debian.module/unit.example-python3.7-config
parentba738d1f65e6e213e9f9adfeee0468b1f9a278a0 (diff)
downloadunit-d959300e0bf2445bf3915e12d670b099c6559e43.tar.gz
unit-d959300e0bf2445bf3915e12d670b099c6559e43.tar.bz2
Packages: Ubuntu 18.10 "cosmic" support added.
Diffstat (limited to 'pkg/deb/debian.module/unit.example-python3.7-config')
-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"
+ }
+ }
+}