summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-config
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-config')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-config16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-config
new file mode 100644
index 00000000..53eee534
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-config
@@ -0,0 +1,16 @@
+{
+ "applications": {
+ "example_ruby": {
+ "type": "ruby",
+ "user": "nobody",
+ "processes": 2,
+ "script": "/usr/share/doc/unit-ruby/examples/ruby-app.ru"
+ }
+ },
+
+ "listeners": {
+ "*:8700": {
+ "application": "example_ruby"
+ }
+ }
+}