source: general/genlib/fam/fam-config.xml@ 6492ac2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6492ac2 was 6492ac2, checked in by Tushar Teredesai <tushar@…>, 20 years ago

Updated to fam-2.7.0. Renamed libfam to fam

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1932 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.9 KB
Line 
1<sect2>
2<title>Configuring <application><acronym>FAM</acronym></application></title>
3
4<sect3><title>Config files</title>
5
6<para><filename>/etc/rpc</filename>,
7 <filename>/etc/fam.conf</filename>,
8 <filename>/etc/inetd.conf</filename>,
9 <filename>/etc/xinetd.d/fam</filename>
10 or <filename>/etc/xinetd.conf</filename>
11 </para>
12</sect3>
13
14<sect3><title>Configuration Information</title>
15
16<para>Configuring the file alteration monitor.</para>
17
18<para>If you use <application>inetd</application>, add the
19<application><acronym>FAM</acronym></application> entry to
20<filename>/etc/inetd.conf</filename> with the
21following command: </para>
22
23<screen><userinput><command>echo "sgi_fam/1-2 stream rpc/tcp wait root /usr/bin/fam fam" &gt;&gt; /etc/inetd.conf</command></userinput></screen>
24
25<para>If you use <application>xinetd</application>, add an entry to
26<filename>/etc/xinetd.conf</filename> with the following command (be
27sure the "nogroup" group exists):</para>
28
29<screen><userinput><command>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</command>
30 # description: FAM - file alteration monitor
31 service sgi_fam
32 {
33 type = RPC UNLISTED
34 socket_type = stream
35 user = root
36 group = nogroup
37 server = /usr/bin/fam
38 wait = yes
39 protocol = tcp
40 rpc_version = 2
41 rpc_number = 391002
42 }
43<command>EOF</command></userinput></screen>
44
45<para>If you do not have any inetd daemon installed and have no
46wish to install one, you can also start fam during system startup
47by installing <filename>/etc/rc.d/init.d/fam</filename>
48init script included in the
49<xref linkend="intro-important-bootscripts"/> package.</para>
50
51<screen><userinput><command>make install-fam</command></userinput></screen>
52
53</sect3>
54
55</sect2>
56
Note: See TracBrowser for help on using the repository browser.