summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES/unit.example-go-config
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rpm/rpmbuild/SOURCES/unit.example-go-config')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-go-config15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-go-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-go-config
new file mode 100644
index 00000000..d6a2a8a0
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-go-config
@@ -0,0 +1,15 @@
+{
+ "applications": {
+ "example_go": {
+ "type": "go",
+ "user": "nobody",
+ "executable": "/tmp/go-app"
+ }
+ },
+
+ "listeners": {
+ "*:8500": {
+ "application": "example_go"
+ }
+ }
+}