summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-ruby-config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/deb/debian.module/unit.example-ruby-config16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-ruby-config b/pkg/deb/debian.module/unit.example-ruby-config
new file mode 100644
index 00000000..53eee534
--- /dev/null
+++ b/pkg/deb/debian.module/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"
+ }
+ }
+}