</programlisting>\r
</step>\r
<step>\r
- <para>Save file in <filename>/etc/init.d</filename> folder.</para> \r
+ <para>Save file in <filename class="directory">/etc/bin</filename> folder as <filename>evergreenstart</filename> if you would like this as a manual script for starting Evergreen services.</para> \r
+ \r
+ <para>Save file in <filename class="directory">/etc/init.d</filename> folder as <filename>evergreenstart</filename> if you would like to run this script automatically \r
+ during your server's boot process as explained in later steps.</para> \r
</step>\r
<step>\r
- <para>Ensure that it is executable.</para>\r
+ <para>Ensure that the script is executable.</para>\r
<screen><userinput>sudo chmod 755 evergreenstart </userinput></screen>\r
</step> \r
<step>\r
<screen><userinput>/etc/init.d/apache2 restart</userinput></screen>\r
</step> \r
<step>\r
- <para>Test the script by running it from the command line as the <systemitem class="username">root</systemitem> user.</para>\r
-<screen><userinput>/etc/init.d/evergreenstart restart</userinput></screen>\r
- <para>You will also need to restart apache as <systemitem class="username">root</systemitem>.</para>\r
-<screen><userinput>/etc/init.d/apache2 restart</userinput></screen>\r
- </step> \r
- <step>\r
+ <note><para>The next steps are optional if you want to automate Evergreen so it starts during your server's boot process.</para></note>\r
<para>Update runlevel defaults of the new evergreenstart service as the <systemitem class="username">root</systemitem> user:</para>\r
<screen><userinput>update-rc.d evergreenstart defaults 80 20</userinput></screen>\r
<note><para>For Evergreen to start properly during a reboot, you will want to ensure that the first number <option>80</option> is lower than the assigned starting priority for Apache so it starts before Apache. It should also a higher stopping priority <option>20</option> than Apache so it stops after Apache at shutdown.</para></note>\r
</step> \r
+ <step>\r
+ <para>Test the startup script by rebooting the Evergreen Server and checking to ensure that all Evergreen sercices started properly.</para>\r
+ </step> \r
</procedure>\r
+ <caution><para>This has not yet been tested in a Evergreen multi-server, <quote>brick</quote> configuration.</para></caution> \r
<para>For more information on update-rc.d you should review the documentation on this topic for <link xl:href="http://www.debuntu.org/how-to-manage-services-with-update-rc.d">\r
Debian</link> or <link xl:href="http://manpages.ubuntu.com/manpages/hardy/man8/update-rc.d.8.html">Ubuntu</link> depending on your distribution of Linux.</para> \r
</section>\r