From ad63a3e7521dcbc8e39e610a534c8c1728ecf3da Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 28 Dec 2017 20:38:35 +0300 Subject: Packages: added support for Ubuntu 17.10. --- pkg/deb/debian.module/unit.example-go1.9-config | 15 +++++++++++++++ pkg/deb/debian.module/unit.example-python3.6-config | 17 +++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 pkg/deb/debian.module/unit.example-go1.9-config create mode 100644 pkg/deb/debian.module/unit.example-python3.6-config (limited to 'pkg/deb/debian.module') diff --git a/pkg/deb/debian.module/unit.example-go1.9-config b/pkg/deb/debian.module/unit.example-go1.9-config new file mode 100644 index 00000000..4074df3b --- /dev/null +++ b/pkg/deb/debian.module/unit.example-go1.9-config @@ -0,0 +1,15 @@ +{ + "applications": { + "example_go": { + "type": "go", + "user": "nobody", + "executable": "/tmp/go1.9-app" + } + }, + + "listeners": { + "*:8500": { + "application": "example_go" + } + } +} diff --git a/pkg/deb/debian.module/unit.example-python3.6-config b/pkg/deb/debian.module/unit.example-python3.6-config new file mode 100644 index 00000000..a17e333b --- /dev/null +++ b/pkg/deb/debian.module/unit.example-python3.6-config @@ -0,0 +1,17 @@ +{ + "applications": { + "example_python": { + "type": "python", + "user": "nobody", + "workers": 2, + "path": "/usr/share/doc/unit-python3.6/examples/python-app", + "module": "wsgi" + } + }, + + "listeners": { + "*:8400": { + "application": "example_python" + } + } +} -- cgit