-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathxinetd.conf.erb
More file actions
22 lines (21 loc) · 785 Bytes
/
Copy pathxinetd.conf.erb
File metadata and controls
22 lines (21 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
defaults
{
instances = 1
log_type = FILE <%= ENV['OPENSHIFT_LOG_DIR'] || "/tmp/sed-httpd/" %>server.log
log_on_success = HOST PID
log_on_failure = HOST
cps = 120 5
}
service magicsed
{
type = UNLISTED
disable = no
socket_type = stream
user = <%= ENV['OPENSHIFT_GEAR_UUID'] || ( require 'etc'; Etc.getlogin ) || "nobody" %>
server = <%= ENV['OPENSHIFT_REPO_DIR'] || "/tmp/sed-httpd/" %>server-wrapper.sh
wait = no
protocol = tcp
port = <%= ENV['OPENSHIFT_DIY_PORT'] || "8080" %>
bind = <%= ENV['OPENSHIFT_DIY_IP'] || "127.0.0.1" %>
rlimit_cpu = 10
}