<feed xmlns='http://www.w3.org/2005/Atom'>
<title>relx.git/priv/templates/builtin_hook_wait_for_process, branch master</title>
<subtitle>Sane, simple release creation for Erlang.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/relx.git/'/>
<entry>
<title>Add support for new relx directive that provides start/stop shell script hooks</title>
<updated>2016-11-12T23:59:07+00:00</updated>
<author>
<name>Luis Rascao</name>
<email>luis.rascao@gmail.com</email>
</author>
<published>2016-11-05T22:22:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/relx.git/commit/?id=3905d39d180efe125b9ef5351d1c3b27a3f825b0'/>
<id>3905d39d180efe125b9ef5351d1c3b27a3f825b0</id>
<content type='text'>
New 'extended_start_script_hooks' directive that allows the
developer to define six different hook shell scripts to be invoked
at pre/post start/stop/install upgrade phases.
Besides these custom defined scripts, other types of builtin
scripts are also available, these offer pre-packaged functionality
that can be used directly, they are:
  pid - writes the beam pid to a configurable file location
          (/var/run/&lt;rel_name&gt;.pid by default).
  wait_for_vm_start - waits for the vm to start (ie. when it responds to pings)
  wait_for_process - waits for a configurable name
                                to appear in the erlang process registry
The hook scripts are invoked with the 'source' command, therefore
they have access to all the variables in the start script.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New 'extended_start_script_hooks' directive that allows the
developer to define six different hook shell scripts to be invoked
at pre/post start/stop/install upgrade phases.
Besides these custom defined scripts, other types of builtin
scripts are also available, these offer pre-packaged functionality
that can be used directly, they are:
  pid - writes the beam pid to a configurable file location
          (/var/run/&lt;rel_name&gt;.pid by default).
  wait_for_vm_start - waits for the vm to start (ie. when it responds to pings)
  wait_for_process - waits for a configurable name
                                to appear in the erlang process registry
The hook scripts are invoked with the 'source' command, therefore
they have access to all the variables in the start script.
</pre>
</div>
</content>
</entry>
</feed>
