source: general/sysutils/fcron-systemd.xml@ 3bdfdc61

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 3bdfdc61 was 3bdfdc61, checked in by Krejzi <krejzi@…>, 10 years ago

Finish checking general and system utilities, finishing general section entirely.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14074 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY fcron-download-http "http://fcron.free.fr/archives/fcron-&fcron-version;.src.tar.gz">
8 <!ENTITY fcron-download-ftp " ">
9<!-- <!ENTITY fcron-download-ftp "ftp://ftp.seul.org/pub/fcron/fcron-&fcron-version;.src.tar.gz">-->
10 <!ENTITY fcron-md5sum "4b031c2fba32a98fa814d1557158b0e9">
11 <!ENTITY fcron-size "584 KB">
12 <!ENTITY fcron-buildsize "5.1 MB">
13 <!ENTITY fcron-time "0.1 SBU">
14]>
15
16<sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
17 <?dbhtml filename="fcron.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Fcron-&fcron-version;</title>
25
26 <indexterm zone="fcron">
27 <primary sortas="a-Fcron">Fcron</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Fcron</title>
32
33 <para>The <application>Fcron</application> package contains a periodical
34 command scheduler which aims at replacing <application>Vixie
35 Cron</application>.</para>
36
37 &lfs76_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&fcron-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&fcron-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &fcron-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &fcron-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &fcron-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &fcron-time;</para>
58 </listitem>
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-->
71 <bridgehead renderas="sect3">Fcron Dependencies</bridgehead>
72
73 <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"/>
79 </para>
80
81 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/fcron"/></para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of Fcron</title>
88
89<!-- <para id="fcron-syslog"><application>Fcron</application> uses the cron facility
90 of <command>syslog</command> to log all messages. Since LFS
91 does not set up this facility in <filename>/etc/syslog.conf</filename>, it
92 needs to be done prior to installing <application>Fcron</application>. This
93 command will append the necessary line to the current
94 <filename>/etc/syslog.conf</filename> (perform as the
95 <systemitem class='username'>root</systemitem> user):</para>
96
97 <indexterm zone="fcron fcron-syslog">
98 <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>
99 </indexterm>
100
101<screen role="root"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
102<literal># Begin fcron addition to /etc/syslog.conf
103
104cron.* -/var/log/cron.log
105
106# End fcron addition</literal>
107EOF</userinput></screen>
108
109 <para>The configuration file has been modified, so reloading the
110 <command>sysklogd</command> daemon will activate the changes (again as the
111 <systemitem class='username'>root</systemitem> user).</para>
112
113<screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen> -->
114
115 <para>For security reasons, an unprivileged user and group for
116 <application>Fcron</application> should be created (perform as the
117 <systemitem class='username'>root</systemitem> user):</para>
118
119<screen role="root"><userinput>groupadd -g 22 fcron &amp;&amp;
120useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22 fcron</userinput></screen>
121
122 <para>Install <application>Fcron</application> by running the following
123 commands:</para>
124
125<screen><userinput>./configure --prefix=/usr \
126 --sysconfdir=/etc \
127 --localstatedir=/var \
128 --without-sendmail \
129 --withpit-boot-install &amp;&amp;
130make</userinput></screen>
131
132 <para>This package does not come with a test suite.</para>
133
134 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
135
136<screen role="root"><userinput>make install</userinput></screen>
137
138 <para>DESTDIR install must be done as <systemitem class="username">root</systemitem> user.</para>
139
140 </sect2>
141
142 <sect2 role="commands">
143 <title>Command Explanations</title>
144<!--
145 <para><command>autoconf</command>: This command is required to rebuild
146 <filename>configure</filename> using the fixed input file.</para>-->
147
148 <para><parameter>--without-sendmail</parameter>: By default,
149 <application>Fcron</application> will attempt to use the
150 <command>sendmail</command> command from an <xref linkend="server-mail"/>
151 package to email you the results of the <command>fcron</command> script.
152 This switch is used to disable default email notification. Omit the switch
153 to enable the default. Alternatively, you can use the
154 <option>--with-sendmail=<replaceable>&lt;/path/to/MTA
155 command&gt;</replaceable></option> to use a different mailer command.</para>
156
157 <para><parameter>--without-boot-install</parameter>: This prevents
158 installation of the bootscript included with the package.</para>
159
160 <para><option>--with-editor=<replaceable>&lt;/path/to/editor&gt;</replaceable></option>:
161 This switch allows you to set the default text editor.</para>
162
163 <para><option>--with-dsssl-dir=<replaceable>&lt;/path/to/dsssl-stylesheets&gt;</replaceable></option>:
164 May be used if you have <xref linkend="docbook-utils"/> installed.
165 Currently, the dsssl stylesheets are located at
166 <filename class="directory">/usr/share/sgml/docbook/dsssl-stylesheets-1.79</filename>.</para>
167
168 </sect2>
169
170 <sect2 role="configuration">
171 <title>Configuring Fcron</title>
172
173 <sect3 id="fcron-config">
174 <title>Config Files</title>
175
176 <para><filename>/etc/fcron.conf</filename>,
177 <filename>/etc/fcron.allow</filename>, and
178 <filename>/etc/fcron.deny</filename></para>
179
180 <indexterm zone="fcron fcron-config">
181 <primary sortas="e-etc-fcron.conf">/etc/fcron.conf</primary>
182 </indexterm>
183
184 <indexterm zone="fcron fcron-config">
185 <primary sortas="e-etc-fcron.allow">/etc/fcron.allow</primary>
186 </indexterm>
187
188 <indexterm zone="fcron fcron-config">
189 <primary sortas="e-etc-fcron.deny">/etc/fcron.deny</primary>
190 </indexterm>
191
192 </sect3>
193
194 <sect3>
195 <title>Configuration Information</title>
196
197 <para>There are no required changes in any of the config files.
198 Configuration information can be found in the man page for
199 <filename>fcron.conf</filename>.</para>
200
201 <para><command>fcron</command> scripts are written using
202 <command>fcrontab</command>. Refer to the <command>fcrontab</command> man
203 page for proper parameters to address your situation.</para>
204
205 <para id="fcron-pam">If <application>Linux-PAM</application>
206 is installed, two PAM configuration files are installed in
207 <filename class='directory'>/etc/pam.d</filename>. Alternatively if
208 <filename class='directory'>/etc/pam.d</filename> is not used, the installation
209 will append two configuration sections to the existing
210 <filename>/etc/pam.conf</filename> file. You should ensure the files match your
211 preferences. Modify them as required to suit your needs.</para>
212
213 <indexterm zone="fcron fcron-pam">
214 <primary sortas="e-etc-pam.d">/etc/pam.d/*</primary>
215 </indexterm>
216
217 <indexterm zone="fcron fcron-pam">
218 <primary sortas="e-etc-pam.conf">/etc/pam.conf</primary>
219 </indexterm>
220
221 </sect3>
222
223 <sect3 id="fcron-init">
224 <title>Systemd Units</title>
225
226 <para>
227 To start the <command>fcron</command> daemon at boot,
228 enable the previously installed systemd unit by
229 running the following command as the
230 <systemitem class="username">root</systemitem> user:
231 </para>
232
233 <indexterm zone="fcron fcron-init">
234 <primary sortas="f-fcron">fcron</primary>
235 </indexterm>
236
237<screen role="root"><userinput>systemctl enable fcron</userinput></screen>
238
239 </sect3>
240
241 </sect2>
242
243 <sect2 role="content">
244 <title>Contents</title>
245
246 <segmentedlist>
247 <segtitle>Installed Programs</segtitle>
248 <segtitle>Installed Libraries</segtitle>
249 <segtitle>Installed Directories</segtitle>
250
251 <seglistitem>
252 <seg>fcron, fcrondyn, fcronsighup, and fcrontab</seg>
253 <seg>None</seg>
254 <seg>/usr/share/doc/fcron-&fcron-version; and /var/spool/fcron</seg>
255 </seglistitem>
256 </segmentedlist>
257
258 <variablelist>
259 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
260 <?dbfo list-presentation="list"?>
261 <?dbhtml list-presentation="table"?>
262
263 <varlistentry id="fcron-prog">
264 <term><command>fcron</command></term>
265 <listitem>
266 <para>is the scheduling daemon.</para>
267 <indexterm zone="fcron fcron-prog">
268 <primary sortas="b-fcron">fcron</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="fcrondyn">
274 <term><command>fcrondyn</command></term>
275 <listitem>
276 <para>is a user tool intended to interact with a running
277 <command>fcron</command> daemon.</para>
278 <indexterm zone="fcron fcrondyn">
279 <primary sortas="b-fcrondyn">fcrondyn</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="fcronsighup">
285 <term><command>fcronsighup</command></term>
286 <listitem>
287 <para>instructs <command>fcron</command> to reread the
288 <application>Fcron</application> tables.</para>
289 <indexterm zone="fcron fcronsighup">
290 <primary sortas="b-fcronsighup">fcronsighup</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="fcrontab">
296 <term><command>fcrontab</command></term>
297 <listitem>
298 <para>is a program used to install, edit, list and remove the
299 tables used by <command>fcron</command>.</para>
300 <indexterm zone="fcron fcrontab">
301 <primary sortas="b-fcrontab">fcrontab</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 </variablelist>
307
308 </sect2>
309
310</sect1>
Note: See TracBrowser for help on using the repository browser.