diff options
Diffstat (limited to '')
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" + } + } +} |