From 6c5e5f25ef74dbf4d3dc524e293863fad7fcf524 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Fri, 5 Oct 2018 14:10:13 +0300 Subject: Packages: all CRLF newlines in examples converted to LF. --- pkg/deb/debian.module/unit.example-go-config | 30 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'pkg/deb/debian.module/unit.example-go-config') diff --git a/pkg/deb/debian.module/unit.example-go-config b/pkg/deb/debian.module/unit.example-go-config index 6ee4d001..d6a2a8a0 100644 --- a/pkg/deb/debian.module/unit.example-go-config +++ b/pkg/deb/debian.module/unit.example-go-config @@ -1,15 +1,15 @@ -{ - "applications": { - "example_go": { - "type": "go", - "user": "nobody", - "executable": "/tmp/go-app" - } - }, - - "listeners": { - "*:8500": { - "application": "example_go" - } - } -} +{ + "applications": { + "example_go": { + "type": "go", + "user": "nobody", + "executable": "/tmp/go-app" + } + }, + + "listeners": { + "*:8500": { + "application": "example_go" + } + } +} -- cgit From 029c1a9f509b2af60e02d74ef982fda1346d85e0 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 9 Oct 2018 17:53:31 +0300 Subject: Renamed "go" application type to "external". There's nothing specific to Go language. This type of application object can be used to run any external application that utilizes libunit API. --- pkg/deb/debian.module/unit.example-go-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/deb/debian.module/unit.example-go-config') diff --git a/pkg/deb/debian.module/unit.example-go-config b/pkg/deb/debian.module/unit.example-go-config index d6a2a8a0..079ce0b8 100644 --- a/pkg/deb/debian.module/unit.example-go-config +++ b/pkg/deb/debian.module/unit.example-go-config @@ -1,7 +1,7 @@ { "applications": { "example_go": { - "type": "go", + "type": "external", "user": "nobody", "executable": "/tmp/go-app" } -- cgit