summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES
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
parentbe8df0631a6fa4e5afa8c03ed5b84cec72da20d4 (diff)
downloadunit-0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939.tar.gz
unit-0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939.tar.bz2
Packages: added support for Amazon Linux.
Diffstat (limited to 'pkg/rpm/rpmbuild/SOURCES')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config17
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-python34-config17
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-python35-config17
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-python36-config17
4 files changed, 68 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"
+ }
+ }
+}
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python34-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python34-config
new file mode 100644
index 00000000..4adf2d7a
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python34-config
@@ -0,0 +1,17 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.4",
+ "user": "nobody",
+ "workers": 2,
+ "path": "/usr/share/doc/unit-python34/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "application": "example_python"
+ }
+ }
+}
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python35-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python35-config
new file mode 100644
index 00000000..651e1437
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python35-config
@@ -0,0 +1,17 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.5",
+ "user": "nobody",
+ "workers": 2,
+ "path": "/usr/share/doc/unit-python35/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "application": "example_python"
+ }
+ }
+}
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python36-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python36-config
new file mode 100644
index 00000000..e662a6a9
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python36-config
@@ -0,0 +1,17 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.6",
+ "user": "nobody",
+ "workers": 2,
+ "path": "/usr/share/doc/unit-python36/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "application": "example_python"
+ }
+ }
+}