summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-11-21 14:13:24 +0300
committerAndrei Belov <defan@nginx.com>2019-11-21 14:13:24 +0300
commit5758a0637469bb29b3568d3311bc58505f82fc0c (patch)
tree1be59caf4d751b2f23b920a7f882ada54604f2a4 /pkg/deb/debian.module
parentbc14605fd63f0aaab7d1d6ba771bf47355982db7 (diff)
downloadunit-5758a0637469bb29b3568d3311bc58505f82fc0c.tar.gz
unit-5758a0637469bb29b3568d3311bc58505f82fc0c.tar.bz2
Packages: added Ubuntu 19.10 "eoan" support.
Diffstat (limited to '')
-rw-r--r--pkg/deb/debian.module/unit.example-go1.12-config15
-rw-r--r--pkg/deb/debian.module/unit.example-go1.13-config15
2 files changed, 30 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-go1.12-config b/pkg/deb/debian.module/unit.example-go1.12-config
new file mode 100644
index 00000000..b49f0aba
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-go1.12-config
@@ -0,0 +1,15 @@
+{
+ "applications": {
+ "example_go": {
+ "type": "external",
+ "user": "nobody",
+ "executable": "/tmp/go1.12-app"
+ }
+ },
+
+ "listeners": {
+ "*:8500": {
+ "pass": "applications/example_go"
+ }
+ }
+}
diff --git a/pkg/deb/debian.module/unit.example-go1.13-config b/pkg/deb/debian.module/unit.example-go1.13-config
new file mode 100644
index 00000000..7dbffb17
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-go1.13-config
@@ -0,0 +1,15 @@
+{
+ "applications": {
+ "example_go": {
+ "type": "external",
+ "user": "nobody",
+ "executable": "/tmp/go1.13-app"
+ }
+ },
+
+ "listeners": {
+ "*:8500": {
+ "pass": "applications/example_go"
+ }
+ }
+}