summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2024-11-21 18:32:28 -0800
committerKonstantin Pavlov <pavlov.konstantin@gmail.com>2024-12-12 19:13:30 -0800
commit19f403f5d015058399511af0fe3533899bbe506c (patch)
treebbdea448486aaec47e78bb06c1bd11509dab3dff /pkg/rpm/rpmbuild/SOURCES
parent655ca61b2b944396ff4b7ca174aa79a7b55db8bc (diff)
downloadunit-19f403f5d015058399511af0fe3533899bbe506c.tar.gz
unit-19f403f5d015058399511af0fe3533899bbe506c.tar.bz2
Packages: add Fedora 41 support
While at it, removed support for Fedora 39 as it's EOL.
Diffstat (limited to 'pkg/rpm/rpmbuild/SOURCES')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-jsc21-config15
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-python313-config16
2 files changed, 31 insertions, 0 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-jsc21-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-jsc21-config
new file mode 100644
index 00000000..a20cff8f
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-jsc21-config
@@ -0,0 +1,15 @@
+{
+ "applications": {
+ "example_java21": {
+ "processes": 1,
+ "type": "java 21",
+ "webapp": "/usr/share/doc/unit-jsc21/examples/jsc-app"
+ }
+ },
+
+ "listeners": {
+ "*:8800": {
+ "pass": "applications/example_java21"
+ }
+ }
+}
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python313-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python313-config
new file mode 100644
index 00000000..c9d545cc
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python313-config
@@ -0,0 +1,16 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.13",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python313/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "pass": "applications/example_python"
+ }
+ }
+}