From 48ae47017bef218d1bc8e16f2bb7e0347b5b0e4c Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Mon, 22 Apr 2019 13:50:02 +0300 Subject: Packages: Ubuntu 19.04 "disco" support added. --- pkg/deb/debian.module/unit.example-go1.11-config | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pkg/deb/debian.module/unit.example-go1.11-config (limited to 'pkg/deb/debian.module/unit.example-go1.11-config') diff --git a/pkg/deb/debian.module/unit.example-go1.11-config b/pkg/deb/debian.module/unit.example-go1.11-config new file mode 100644 index 00000000..2240251a --- /dev/null +++ b/pkg/deb/debian.module/unit.example-go1.11-config @@ -0,0 +1,15 @@ +{ + "applications": { + "example_go": { + "type": "external", + "user": "nobody", + "executable": "/tmp/go1.11-app" + } + }, + + "listeners": { + "*:8500": { + "application": "example_go" + } + } +} -- cgit From 094cc2fc997b86a86e5ce65c44509b19e5b89874 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Wed, 24 Apr 2019 20:31:00 +0300 Subject: Packages: using "pass" option in config examples. The "application" option has been deprecated since 1.8.0. --- pkg/deb/debian.module/unit.example-go1.11-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/deb/debian.module/unit.example-go1.11-config') diff --git a/pkg/deb/debian.module/unit.example-go1.11-config b/pkg/deb/debian.module/unit.example-go1.11-config index 2240251a..5e063a4c 100644 --- a/pkg/deb/debian.module/unit.example-go1.11-config +++ b/pkg/deb/debian.module/unit.example-go1.11-config @@ -9,7 +9,7 @@ "listeners": { "*:8500": { - "application": "example_go" + "pass": "applications/example_go" } } } -- cgit