summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-go1.12-config
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/deb/debian.module/unit.example-go1.12-config')
-rw-r--r--pkg/deb/debian.module/unit.example-go1.12-config15
1 files changed, 15 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"
+ }
+ }
+}