summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES/unit.example.config
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rpm/rpmbuild/SOURCES/unit.example.config')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example.config12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example.config b/pkg/rpm/rpmbuild/SOURCES/unit.example.config
index 15fb86f1..a5f31ced 100644
--- a/pkg/rpm/rpmbuild/SOURCES/unit.example.config
+++ b/pkg/rpm/rpmbuild/SOURCES/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"
}
}
}