]> granicus.if.org Git - fcron/commitdiff
Improved documentation
authorThibault Godouet <fcron@free.fr>
Mon, 26 Nov 2012 19:43:28 +0000 (19:43 +0000)
committerThibault Godouet <fcron@free.fr>
Mon, 26 Nov 2012 19:47:52 +0000 (19:47 +0000)
doc/en/fcrontab.5.sgml
doc/en/install.sgml

index 7d871ae3d5326258ccf8bb35abd3d022cd935f30..f0633b06b255c49c6077fed8d1d93080f3b76c2b 100644 (file)
@@ -407,7 +407,7 @@ linkend="uptent">lines based on elapsed system up time</link> is recommended ins
                        <row>
                            <entry>@reboot </entry>
                            <entry>Run once, at startup </entry>
-                           <entry>@runatreboot,runonce 1 </entry>
+                           <entry>@runatreboot,runonce(true)</entry>
                            <entry>   </entry>
                        </row>
                        <row>
index 05a1dd29c64ce2ff9b84b7f4b040a0f9b89d6395..4ee537ede65e29eca3c9aebfd57f8ef67bf5fd3a 100644 (file)
@@ -30,22 +30,18 @@ tar -xzf fcron-X.Y.Z.src.tar.gz</command></screen>
                    <itemizedlist>
                        <listitem>
                            <para>
-                               The command <command>make install</command> asks
-you by default some questions you have to answer. To avoid that (which can be
-useful for automatic installers), you can use the
-<command>./configure</command>'s option <option>--with-answer-all</option>
-and/or <option>--with-boot-install</option> (see "<command>./configure</command>
-<option>--help</option>" for more details).
-                           </para>
+                               If using <productname>PAM</productname>, beware that by default the <productname>PAM</productname> configuration will be installed in <filename>/usr/local/etc/</filename>. That most likely mean that your system won't use this config, and may ask you to type your password everytime you start fcrontab or fcrondyn.</para>
+                            <para>The simplest way to avoid this is to instruct configure to use <filename>/etc</filename> instead with:</para>
+           <screen><prompt>bash$ </prompt><command>./configure --sysconfdir=/etc</command></screen>
                        </listitem>
                        <listitem>
                            <para>
                                You may also want to change the place where
 &fcron; will be installed: you can use the <command>configure </command>'s
 option <option>--prefix</option> to do that. For instance:
-<command>./configure</command> <option>--prefix=/usr/local</option> (default is
-prefix=/usr)
                            </para>
+<screen><prompt>bash$ </prompt><command>./configure --prefix=/usr--sysconfdir=/etc</command></screen>
+<para>(default is <option>prefix=/usr/local</option> and <option>sysconfdir=${prefix}/etc</option>).</para>
                        </listitem>
                        <listitem>
                            <para>
@@ -54,6 +50,16 @@ prefix=/usr)
 option <option>--with-pam=no</option>, <option>--with-selinux=no</option> 
 and/or <option>--with-fcrondyn=no</option>.</para>
                        </listitem>
+                       <listitem>
+                           <para>
+                               The command <command>make install</command> asks
+you by default some questions you have to answer. To avoid that (which can be
+useful for automatic installers), you can use the
+<command>./configure</command>'s option <option>--with-answer-all</option>
+and/or <option>--with-boot-install</option> (see "<command>./configure
+--help</command>" for more details).
+                           </para>
+                       </listitem>
                        <listitem>
                            <para>To debug &fcron;, you should use
 <command>configure </command>'s option <option>--with-debug</option>.
@@ -63,7 +69,7 @@ and/or <option>--with-fcrondyn=no</option>.</para>
                            <para>
                                You can get info on the others
 <command>configure </command>'s options by running
-"<command>./configure</command> <option>--help</option>".
+"<command>./configure --help</command>".
                            </para>
                        </listitem>
                    </itemizedlist>