document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode\">\n");
document.write("		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n");
document.write("		<tr>\n");
document.write("			<td>\n");
document.write("				\n");
document.write("				<pre class=\"textmate-source-numbers\">1\n");
document.write("2\n");
document.write("3\n");
document.write("4\n");
document.write("5\n");
document.write("6\n");
document.write("7\n");
document.write("8\n");
document.write("9\n");
document.write("10\n");
document.write("11\n");
document.write("12\n");
document.write("13\n");
document.write("14\n");
document.write("15\n");
document.write("16\n");
document.write("17\n");
document.write("18\n");
document.write("19\n");
document.write("20\n");
document.write("21\n");
document.write("22\n");
document.write("23\n");
document.write("24\n");
document.write("25\n");
document.write("26\n");
document.write("27\n");
document.write("28\n");
document.write("29\n");
document.write("30\n");
document.write("31\n");
document.write("32\n");
document.write("33\n");
document.write("34\n");
document.write("35\n");
document.write("36\n");
document.write("37\n");
document.write("38\n");
document.write("39\n");
document.write("40\n");
document.write("41\n");
document.write("42\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#! /bin/sh<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>### BEGIN INIT INFO<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># Provides:          god<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># Required-Start:    $local_fs<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># Required-Stop:     $local_fs<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># Default-Start:     S<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># Default-Stop:      0 6<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># Short-Description: Start God daemon to run various processes<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># Description        Start God, a process monitor, with various configurations<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#                    to run web servers and similar Ruby daemons.<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>### END INIT INFO<\/span>\n");
document.write("\n");
document.write("[ -x /usr/local/bin/god ] <span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>||<\/span> exit 0\n");
document.write("\n");
document.write("RUBYOPT=rubygems\n");
document.write("PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin\n");
document.write(". /lib/init/vars.sh\n");
document.write("\n");
document.write(". /lib/lsb/init-functions\n");
document.write("\n");
document.write("<span class=\'keyword keyword_control keyword_control_shell\'>case<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;<span class=\'variable variable_other variable_other_positional variable_other_positional_shell\'>$1<\/span>&quot;<\/span> <span class=\'keyword keyword_control keyword_control_shell\'>in<\/span>\n");
document.write("  start<span class=\'keyword keyword_operator keyword_operator_pipe keyword_operator_pipe_shell\'>|<\/span><span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;&quot;<\/span>)\n");
document.write("	[ <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;<span class=\'variable variable_other variable_other_normal variable_other_normal_shell\'>$VERBOSE<\/span>&quot;<\/span> = no ] <span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>||<\/span> log_action_begin_msg <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;Initializing God process monitor&quot;<\/span>\n");
document.write("        /usr/local/bin/god -c /home/angelbob/god/god.conf\n");
document.write("	[ <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;<span class=\'variable variable_other variable_other_normal variable_other_normal_shell\'>$VERBOSE<\/span>&quot;<\/span> = no ] <span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>||<\/span> log_action_end_msg <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;Initialized God process monitor&quot;<\/span>\n");
document.write("	<span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>;<\/span><span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>;<\/span>\n");
document.write("  stop)\n");
document.write("	[ <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;<span class=\'variable variable_other variable_other_normal variable_other_normal_shell\'>$VERBOSE<\/span>&quot;<\/span> = no ] <span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>||<\/span> log_action_begin_msg <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;Shutting down God process monitor&quot;<\/span>\n");
document.write("        /usr/local/bin/god terminate\n");
document.write("	[ <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;<span class=\'variable variable_other variable_other_normal variable_other_normal_shell\'>$VERBOSE<\/span>&quot;<\/span> = no ] <span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>||<\/span> log_action_end_msg <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;Shut down God process monitor&quot;<\/span>\n");
document.write("	<span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>;<\/span><span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>;<\/span>\n");
document.write("  restart<span class=\'keyword keyword_operator keyword_operator_pipe keyword_operator_pipe_shell\'>|<\/span>reload<span class=\'keyword keyword_operator keyword_operator_pipe keyword_operator_pipe_shell\'>|<\/span>force-reload)\n");
document.write("	echo <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;Error: argument \'<span class=\'variable variable_other variable_other_positional variable_other_positional_shell\'>$1<\/span>\' not supported&quot;<\/span> <span class=\'keyword keyword_operator keyword_operator_redirect keyword_operator_redirect_shell\'>&gt;&amp;2<\/span>\n");
document.write("	exit 3\n");
document.write("	<span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>;<\/span><span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>;<\/span>\n");
document.write("  *)\n");
document.write("	echo <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;Usage: god start|stop&quot;<\/span> <span class=\'keyword keyword_operator keyword_operator_redirect keyword_operator_redirect_shell\'>&gt;&amp;2<\/span>\n");
document.write("	exit 3\n");
document.write("	<span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>;<\/span><span class=\'keyword keyword_operator keyword_operator_list keyword_operator_list_shell\'>;<\/span>\n");
document.write("<span class=\'keyword keyword_control keyword_control_shell\'>esac<\/span>\n");
document.write("\n");
document.write(":\n");
document.write("<\/pre><\/pre>\n");
document.write("		<\/td>\n");
document.write("		<\/tr>\n");
document.write("		<\/table>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/456102.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/456102\">Pastie #456102<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");

