summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-python3.6-config
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2017-12-28 20:38:35 +0300
committerAndrei Belov <defan@nginx.com>2017-12-28 20:38:35 +0300
commitad63a3e7521dcbc8e39e610a534c8c1728ecf3da (patch)
treef4e16b55c6c52069c9052f6134162cca0f7c1d7c /pkg/deb/debian.module/unit.example-python3.6-config
parente939b8ae18871a19ba0ddf1582afaccfb92e4da4 (diff)
downloadunit-ad63a3e7521dcbc8e39e610a534c8c1728ecf3da.tar.gz
unit-ad63a3e7521dcbc8e39e610a534c8c1728ecf3da.tar.bz2
Packages: added support for Ubuntu 17.10.
Diffstat (limited to '')
-rw-r--r--pkg/deb/debian.module/unit.example-python3.6-config17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-python3.6-config b/pkg/deb/debian.module/unit.example-python3.6-config
new file mode 100644
index 00000000..a17e333b
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-python3.6-config
@@ -0,0 +1,17 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python",
+ "user": "nobody",
+ "workers": 2,
+ "path": "/usr/share/doc/unit-python3.6/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "application": "example_python"
+ }
+ }
+}