summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-python3.8-config
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-11-19 12:43:51 +0300
committerAndrei Belov <defan@nginx.com>2019-11-19 12:43:51 +0300
commitbc14605fd63f0aaab7d1d6ba771bf47355982db7 (patch)
treea73919a91b46435fd456b637636f36fa6575ccd3 /pkg/deb/debian.module/unit.example-python3.8-config
parent0a27f137de776925a24406cf6961c550824c63a0 (diff)
downloadunit-bc14605fd63f0aaab7d1d6ba771bf47355982db7.tar.gz
unit-bc14605fd63f0aaab7d1d6ba771bf47355982db7.tar.bz2
Packages: added Python 3.8 on Ubuntu 18.04, 19.04.
Diffstat (limited to 'pkg/deb/debian.module/unit.example-python3.8-config')
-rw-r--r--pkg/deb/debian.module/unit.example-python3.8-config17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-python3.8-config b/pkg/deb/debian.module/unit.example-python3.8-config
new file mode 100644
index 00000000..435e025f
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-python3.8-config
@@ -0,0 +1,17 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.8",
+ "user": "nobody",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python3.8/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "pass": "applications/example_python"
+ }
+ }
+}