Changeset 96a04dff
- Timestamp:
- 06/07/2016 04:30:16 AM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- e4d2b8d
- Parents:
- 95381469
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/fcron.xml
r95381469 r96a04dff 87 87 <title>Installation of Fcron</title> 88 88 89 <para id="fcron-syslog" ><application>Fcron</application> uses the cron facility90 of <command>syslog</command> to log all messages. Since LFS91 does not set up this facility in <filename>/etc/syslog.conf</filename>, it92 needs to be done prior to installing <application>Fcron</application>. This93 command will append the necessary line to the current94 <filename>/etc/syslog.conf</filename> (perform as the95 <systemitem class='username'>root</systemitem> user):</para>96 97 <indexterm zone="fcron fcron-syslog" >89 <para id="fcron-syslog" revision="sysv"><application>Fcron</application> 90 uses the cron facility of <command>syslog</command> to log all messages. 91 Since LFS does not set up this facility in 92 <filename>/etc/syslog.conf</filename>, it needs to be done prior to 93 installing <application>Fcron</application>. This command will append the 94 necessary line to the current <filename>/etc/syslog.conf</filename> 95 (perform as the <systemitem class='username'>root</systemitem> user):</para> 96 97 <indexterm zone="fcron fcron-syslog" revision="sysv"> 98 98 <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary> 99 99 </indexterm> 100 100 101 <screen role="root" ><userinput>cat >> /etc/syslog.conf << "EOF"101 <screen role="root" revision="sysv"><userinput>cat >> /etc/syslog.conf << "EOF" 102 102 <literal># Begin fcron addition to /etc/syslog.conf 103 103 … … 107 107 EOF</userinput></screen> 108 108 109 <para >The configuration file has been modified, so reloading the110 <command>sysklogd</command> daemon will activate the changes (again as the111 <systemitem class='username'>root</systemitem> user).</para>112 113 <screen role="root" ><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>109 <para revision="sysv">The configuration file has been modified, so reloading 110 the <command>sysklogd</command> daemon will activate the changes (again as 111 the <systemitem class='username'>root</systemitem> user).</para> 112 113 <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen> 114 114 115 115 <para>For security reasons, an unprivileged user and group for … … 218 218 is installed, two PAM configuration files are installed in 219 219 <filename class='directory'>/etc/pam.d</filename>. Alternatively if 220 <filename class='directory'>/etc/pam.d</filename> is not used, the installation 221 will append two configuration sections to the existing 222 <filename>/etc/pam.conf</filename> file. You should ensure the files match your 223 preferences. Modify them as required to suit your needs.</para> 220 <filename class='directory'>/etc/pam.d</filename> is not used, the 221 installation will append two configuration sections to the existing 222 <filename>/etc/pam.conf</filename> file. You should ensure the files match your preferences. Modify them as required to suit your needs.</para> 224 223 225 224 <indexterm zone="fcron fcron-pam"> … … 234 233 235 234 <sect3 id="fcron-init"> 236 <title>Boot Script</title> 237 238 <para>Install the <filename>/etc/rc.d/init.d/fcron</filename> 239 init script from the <xref linkend="bootscripts" revision="sysv"/> 240 <xref linkend="systemd-units" revision="systemd"/> 241 package.</para> 235 <title><phrase revision="sysv">Boot Script</phrase> 236 <phrase revision="systemd">Systemd Unit</phrase></title> 237 238 <para revision="sysv">Install the 239 <filename>/etc/rc.d/init.d/fcron</filename> init script from the 240 <xref linkend="bootscripts"/> package.</para> 241 242 <para revision="systemd">Enable <application>fcron</application> to start 243 at boot using the previously installed systemd unit.</para> 242 244 243 245 <indexterm zone="fcron fcron-init"> … … 245 247 </indexterm> 246 248 247 <screen role="root"><userinput>make install-fcron</userinput></screen> 249 <screen role="root" revision="sysv"><userinput>make install-fcron</userinput></screen> 250 251 <screen role="root" revision="systemd"><userinput>systemctl enable fcron</userinput></screen> 248 252 249 253 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.