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 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config (limited to 'pkg/rpm/rpmbuild/SOURCES/unit.example-python27-config') 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" + } + } +} -- cgit