summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-01-22 16:39:31 +0300
committerAndrei Belov <defan@nginx.com>2018-01-22 16:39:31 +0300
commit0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939 (patch)
tree0f1610a6b727325a80ce3e7d458a457e3ec760ac /pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config
parentbe8df0631a6fa4e5afa8c03ed5b84cec72da20d4 (diff)
downloadunit-0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939.tar.gz
unit-0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939.tar.bz2
Packages: added support for Amazon Linux.
Diffstat (limited to 'pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config
new file mode 100644
index 00000000..11a11bcf
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config
@@ -0,0 +1,17 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 2.7",
+ "user": "nobody",
+ "workers": 2,
+ "path": "/usr/share/doc/unit-python27/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "application": "example_python"
+ }
+ }
+}