From 0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Mon, 22 Jan 2018 16:39:31 +0300 Subject: Packages: added support for Amazon Linux. --- pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config | 17 +++++++++++++++++ pkg/rpm/rpmbuild/SOURCES/unit.example-python34-config | 17 +++++++++++++++++ pkg/rpm/rpmbuild/SOURCES/unit.example-python35-config | 17 +++++++++++++++++ pkg/rpm/rpmbuild/SOURCES/unit.example-python36-config | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config create mode 100644 pkg/rpm/rpmbuild/SOURCES/unit.example-python34-config create mode 100644 pkg/rpm/rpmbuild/SOURCES/unit.example-python35-config create mode 100644 pkg/rpm/rpmbuild/SOURCES/unit.example-python36-config (limited to 'pkg/rpm/rpmbuild') 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" + } + } +} -- cgit