From e00ad18d8082f9db5c49c220d796c78beab53cae Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 27 May 2021 13:12:52 +0300 Subject: Packages: added Ubuntu 21.04 "hirsute" support. --- pkg/deb/debian.module/unit.example-jsc16-config | 15 +++++++++++++++ pkg/deb/debian.module/unit.example-jsc17-config | 15 +++++++++++++++ pkg/deb/debian.module/unit.example-python3.9-config | 16 ++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 pkg/deb/debian.module/unit.example-jsc16-config create mode 100644 pkg/deb/debian.module/unit.example-jsc17-config create mode 100644 pkg/deb/debian.module/unit.example-python3.9-config (limited to 'pkg/deb/debian.module') 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" + } + } +} -- cgit