Changeset 6397333 for general/sysutils/fcron.xml
- Timestamp:
- 09/22/2018 11:32:07 PM (6 years ago)
- Branches:
- basic
- Children:
- 4de7ca7
- Parents:
- acf7e2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/fcron.xml
racf7e2c r6397333 14 14 ]> 15 15 16 <sect1 id="fcron" xreflabel=" Fcron-&fcron-version;">16 <sect1 id="fcron" xreflabel="fcron-&fcron-version;"> 17 17 <?dbhtml filename="fcron.html"?> 18 18 … … 58 58 </listitem> 59 59 </itemizedlist> 60 <!-- 61 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 62 <itemizedlist spacing="compact"> 63 <listitem> 64 <para> 65 Required patch: 66 <ulink url="&patch-root;/fcron-&fcron-version;-sendmail_upstream-1.patch"/> 67 </para> 68 </listitem> 69 </itemizedlist> 70 --> 60 71 61 <bridgehead renderas="sect3">Fcron Dependencies</bridgehead> 72 <!-- 62 73 63 <bridgehead renderas="sect4">Optional</bridgehead> 74 <para role="optional">An <xref linkend="server-mail"/>, 75 <ulink url="../postlfs/editors.html">text editor</ulink> (default is 76 <command>vi</command> from the <xref linkend="vim"/> package), 77 <xref linkend="linux-pam"/>, and 78 <xref linkend="docbook-utils"/> 64 <para role="optional"> 65 A mail server such as <xref linkend="postfix"/>, 66 A text editor 67 (default is <command>vi</command> from the vim package), 68 <ulink url="&blfs-book;/postlfs/linux-pam.html">linux-pam</ulink>, and 69 <ulink url="&blfs-book;/postlfs/pst/docbook-utils.html">docbook-utils</ulink> 79 70 </para> 80 --> 71 81 72 <para condition="html" role="usernotes">User Notes: 82 73 <ulink url="&blfs-wiki;/fcron"/></para> … … 87 78 <title>Installation of Fcron</title> 88 79 89 <para id="fcron-syslog" revision="sysv"><application>Fcron</application> 80 <para id="fcron-syslog"> For System V versions of LFS, 81 <application>fcron</application> 90 82 uses the cron facility of <command>syslog</command> to log all messages. 91 83 Since LFS does not set up this facility in 92 84 <filename>/etc/syslog.conf</filename>, it needs to be done prior to 93 installing <application> Fcron</application>. This command will append the85 installing <application>fcron</application>. This command will append the 94 86 necessary line to the current <filename>/etc/syslog.conf</filename> 95 87 (perform as the <systemitem class='username'>root</systemitem> user):</para> 96 88 97 <indexterm zone="fcron fcron-syslog" revision="sysv">89 <indexterm zone="fcron fcron-syslog"> 98 90 <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary> 99 91 </indexterm> 100 92 101 <screen role="root" revision="sysv"><userinput>cat >> /etc/syslog.conf << "EOF"93 <screen role="root"><userinput>cat >> /etc/syslog.conf << "EOF" 102 94 <literal># Begin fcron addition to /etc/syslog.conf 103 95 … … 107 99 EOF</userinput></screen> 108 100 109 <para revision="sysv">The configuration file has been modified, so reloading101 <para>The configuration file has been modified, so reloading 110 102 the <command>sysklogd</command> daemon will activate the changes (again as 111 103 the <systemitem class='username'>root</systemitem> user).</para> 112 104 113 <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>105 <screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen> 114 106 115 107 <para>For security reasons, an unprivileged user and group for 116 <application> Fcron</application> should be created (perform as the108 <application>fcron</application> should be created (perform as the 117 109 <systemitem class='username'>root</systemitem> user):</para> 118 110 … … 123 115 commands:</para> 124 116 125 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 117 <para>For System V based systems:</para> 118 119 <screen><userinput>./configure --prefix=/usr \ 126 120 --sysconfdir=/etc \ 127 121 --localstatedir=/var \ … … 131 125 make</userinput></screen> 132 126 133 <screen revision="systemd"><userinput>./configure --prefix=/usr \ 127 <para>For systemd based systems:</para> 128 129 <screen><userinput>./configure --prefix=/usr \ 134 130 --sysconfdir=/etc \ 135 131 --localstatedir=/var \ … … 150 146 <sect2 role="commands"> 151 147 <title>Command Explanations</title> 152 <!--153 <para><command>autoconf</command>: This command is required to rebuild154 <filename>configure</filename> using the fixed input file.</para>-->155 148 156 149 <para><parameter>--without-sendmail</parameter>: By default, 157 <application>Fcron</application> will attempt to use the 158 <command>sendmail</command> command from an <!--<xref linkend="server-mail"/>--> 150 <application>fcron</application> will attempt to use the 151 <command>sendmail</command> command from a mail server sucj as the 152 <xref linkend="postfix"/> 159 153 package to email you the results of the <command>fcron</command> script. 160 154 This switch is used to disable default email notification. Omit the switch … … 166 160 installation of the bootscript included with the package.</para> 167 161 168 <para revision="sysv"><parameter>--with-systemdsystemunitdir=no</parameter>:162 <para><parameter>--with-systemdsystemunitdir=no</parameter>: 169 163 This prevents building the <application>systemd</application> units, which 170 164 are not needed for a <application>SYS V</application> system.</para> … … 173 167 This switch allows you to set the default text editor.</para> 174 168 175 <para><option>--with-dsssl-dir=<replaceable></path/to/dsssl-stylesheets></replaceable></option>: 176 May be used if you have <!--<xref linkend="docbook-utils"/>--> installed. 169 <para> 170 <option>--with-dsssl-dir=<replaceable></path/to/dsssl-stylesheets></replaceable></option>: 171 May be used if you have 172 <ulink url="&blfs-book;/postlfs/pst/docbook-utils.html">docbook-utils</ulink> 173 installed. 177 174 Currently, the dsssl stylesheets are located at 178 <filename class="directory">/usr/share/sgml/docbook/dsssl-stylesheets-1.79</filename>.</para> 175 <filename class="directory">/usr/share/sgml/docbook/dsssl-stylesheets-1.79</filename>. 176 </para> 179 177 180 178 </sect2> … … 234 232 235 233 <sect3 id="fcron-init"> 236 <title><phrase revision="sysv">Boot Script</phrase> 237 <phrase revision="systemd">Systemd Unit</phrase></title> 238 239 <para revision="sysv">Install the 234 <title>Boot Script or Systemd Unit</title> 235 236 <para>For System V bases systems, install the 240 237 <filename>/etc/rc.d/init.d/fcron</filename> init script from the 241 238 <xref linkend="bootscripts"/> package.</para> 242 239 243 <para revision="systemd">Enable <application>fcron</application> to start 240 <screen role="root"><userinput>make install-fcron</userinput></screen> 241 242 <para>For systemd based systems, enable <application>fcron</application> to start 244 243 at boot using the previously installed systemd unit.</para> 245 244 … … 248 247 </indexterm> 249 248 250 <screen role="root" revision="sysv"><userinput>make install-fcron</userinput></screen> 251 252 <screen role="root" revision="systemd"><userinput>systemctl enable fcron</userinput></screen> 249 <screen role="root"><userinput>systemctl enable fcron</userinput></screen> 253 250 254 251 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.