summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-02-07 17:26:37 +0300
committerAndrei Belov <defan@nginx.com>2018-02-07 17:26:37 +0300
commit539caf0946d2a5881ffaa34481f63c1bc67be96d (patch)
tree829ffba6d9f84d94e5abe742a299521e41f38268 /pkg/deb/debian
parent78300263685f9e1037038a3d20ed15f41e52dd3d (diff)
downloadunit-539caf0946d2a5881ffaa34481f63c1bc67be96d.tar.gz
unit-539caf0946d2a5881ffaa34481f63c1bc67be96d.tar.bz2
Packages: added Perl package.
Diffstat (limited to 'pkg/deb/debian')
-rw-r--r--pkg/deb/debian/unit.example.config12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/deb/debian/unit.example.config b/pkg/deb/debian/unit.example.config
index 6dbae2b6..f3126457 100644
--- a/pkg/deb/debian/unit.example.config
+++ b/pkg/deb/debian/unit.example.config
@@ -20,6 +20,14 @@
"type": "go",
"user": "nobody",
"executable": "/tmp/go-app"
+ },
+
+ "example_perl": {
+ "type": "perl",
+ "user": "nobody",
+ "processes": 1,
+ "working_directory": "/usr/share/doc/unit-perl/examples/perl-app",
+ "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
}
},
@@ -34,6 +42,10 @@
"*:8500": {
"application": "example_go"
+ },
+
+ "*:8600": {
+ "application": "example_perl"
}
}
}