summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-05-27 13:12:52 +0300
committerAndrei Belov <defan@nginx.com>2021-05-27 13:12:52 +0300
commite00ad18d8082f9db5c49c220d796c78beab53cae (patch)
tree8271a1f53d8fb7caf2781b7af217ef5f5d9e5b70 /pkg/deb/debian.module
parent753ce145f7cfbfffab34d18ff74236f09e471f18 (diff)
downloadunit-e00ad18d8082f9db5c49c220d796c78beab53cae.tar.gz
unit-e00ad18d8082f9db5c49c220d796c78beab53cae.tar.bz2
Packages: added Ubuntu 21.04 "hirsute" support.
Diffstat (limited to 'pkg/deb/debian.module')
-rw-r--r--pkg/deb/debian.module/unit.example-jsc16-config15
-rw-r--r--pkg/deb/debian.module/unit.example-jsc17-config15
-rw-r--r--pkg/deb/debian.module/unit.example-python3.9-config16
3 files changed, 46 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-jsc16-config b/pkg/deb/debian.module/unit.example-jsc16-config
new file mode 100644
index 00000000..0b10a44d
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-jsc16-config
@@ -0,0 +1,15 @@
+{
+ "applications": {
+ "example_java16": {
+ "processes": 1,
+ "type": "java 16",
+ "webapp": "/usr/share/doc/unit-jsc16/examples/jsc-app"
+ }
+ },
+
+ "listeners": {
+ "*:8800": {
+ "pass": "applications/example_java16"
+ }
+ }
+}
diff --git a/pkg/deb/debian.module/unit.example-jsc17-config b/pkg/deb/debian.module/unit.example-jsc17-config
new file mode 100644
index 00000000..28b13e4d
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-jsc17-config
@@ -0,0 +1,15 @@
+{
+ "applications": {
+ "example_java17": {
+ "processes": 1,
+ "type": "java 17",
+ "webapp": "/usr/share/doc/unit-jsc17/examples/jsc-app"
+ }
+ },
+
+ "listeners": {
+ "*:8800": {
+ "pass": "applications/example_java17"
+ }
+ }
+}
diff --git a/pkg/deb/debian.module/unit.example-python3.9-config b/pkg/deb/debian.module/unit.example-python3.9-config
new file mode 100644
index 00000000..fdb7e9db
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-python3.9-config
@@ -0,0 +1,16 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.9",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python3.9/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "pass": "applications/example_python"
+ }
+ }
+}