Revision e3c826ec doc/hooks.sgml

b/doc/hooks.sgml
21 21

  
22 22
    </section>
23 23

  
24

  
25 24
    <section>
26 25
      <title>Organisation</title>
27 26

  
......
111 110

  
112 111
        <para>The scripts will be run as follows:
113 112
          <itemizedlist>
114
          <listitem>
115
            <simpara>no command line arguments</simpara>
116
          </listitem>
113
            <listitem>
114
              <simpara>no command line arguments</simpara>
115
            </listitem>
117 116
            <listitem>
118 117
              <simpara>no controlling <acronym>tty</acronym></simpara>
119 118
            </listitem>
120 119
            <listitem>
121 120
              <simpara><varname>stdin</varname> is
122
              actually <filename>/dev/null</filename></simpara>
121
                actually <filename>/dev/null</filename></simpara>
123 122
            </listitem>
124 123
            <listitem>
125 124
              <simpara><varname>stdout</varname> and
126
              <varname>stderr</varname> are directed to
127
              files</simpara>
125
                <varname>stderr</varname> are directed to
126
                files</simpara>
127
            </listitem>
128
            <listitem>
129
              <simpara>the <varname>PATH</varname> is reset to
130
                <literal>/sbin:/bin:/usr/sbin:/usr/bin</literal></simpara>
131
            </listitem>
132
            <listitem>
133
              <simpara>the environment is cleared, and only
134
                ganeti-specific variables will be left</simpara>
128 135
            </listitem>
129
          <listitem>
130
            <simpara>the <varname>PATH</varname> is reset to
131
            <literal>/sbin:/bin:/usr/sbin:/usr/bin</literal></simpara>
132
          </listitem>
133
          <listitem>
134
            <simpara>the environment is cleared, and only
135
            ganeti-specific variables will be left</simpara>
136
          </listitem>
137 136
          </itemizedlist>
138 137

  
139 138
        </para>

Also available in: Unified diff