Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PaaSage
deployment_scripts
Commits
23c06f7c
Commit
23c06f7c
authored
May 20, 2016
by
Etienne Charlier
Browse files
Fix startup sequence
parent
3f11660e
Changes
2
Hide whitespace changes
Inline
Side-by-side
site-cookbooks/deploy-play/recipes/default.rb
View file @
23c06f7c
...
...
@@ -177,7 +177,7 @@ template "/etc/init/#{application_name}.conf" do
:application_name
=>
application_name
,
:vm_options
=>
''
,
:arguments
=>
"-Dlca.client.config.registry=etcdregistry -Dlca.client.config.registry.etcd.hosts=
#{
external_ip_address
}
-Dconfig.file=
#{
config_dir
}
/prod.conf -Dpidfile.path=$PID_FILE_DIR/
#{
node
[
'play_app'
][
:pid_file_name
]
}
-Dlogger.file=
#{
config_dir
}
/logger.xml -DapplyEvolutions.default=true
#{
node
[
'play_app'
][
:vm_options
]
}
"
,
:command
=>
"bin/
#{
application_name
}
"
:command
=>
"
#{
application_name
}
/
bin/
#{
application_name
}
"
})
end
...
...
site-cookbooks/deploy-play/templates/colosseum.conf.erb
View file @
23c06f7c
...
...
@@ -4,11 +4,17 @@ description "<%= @application_name%>"
start on started server
stop on shutdown
pre-start script
mkdir -p "/run/execware"
chown
<%=
@install_user
%>
/run/execware
end script
env PAASAGE_CONFIG_DIR=/etc/paasage
env PID_FILE_DIR="/run/execware"
setuid
<%=
@install_user
%>
setgid
<%=
@install_user
%>
console log
chdir
<%=
@installation_dir
%>
exec
<%=
@installation_dir
%>
/
<%=
@command
%>
<%=
@arguments
%>
\ No newline at end of file
exec
<%=
@installation_dir
%>
/
<%=
@command
%>
<%=
@arguments
%>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment