From aa8f2c3295cbf7e1b8e134e70b135e07c35f88e9 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Mon, 2 Apr 2018 15:48:33 +0300 Subject: Added Ruby packaging support. --- pkg/deb/debian.module/unit.example-ruby-config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pkg/deb/debian.module/unit.example-ruby-config (limited to 'pkg/deb/debian.module/unit.example-ruby-config') 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" + } + } +} -- cgit