blob: a349a4e9becebad6b02de15f2a0912542b7330e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<sect2>
<title>Installation of Psmisc</title>
<para>Install Psmisc by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/ &&
make &&
make install</userinput></screen></para>
<para>Psmisc installs the
<filename>/usr/share/man/man1/pidof.1</filename> man page, but Psmisc's
pidof program isn't installed by default. Generally this isn't a problem,
because we install the Sysvinit package later on which provides
a better pidof program.</para>
<para>It's up to you now to decide if you are going to use the Sysvinit
package which provides a pidof program, or not. If you are going to, you
should remove Psmisc's pidof man page by running:</para>
<para><screen><userinput>rm /usr/share/man/man1/pidof.1</userinput></screen></para>
<para>If you're not going to use Sysvinit, you should complete this
package's installation by creating the <filename>/bin/pidof</filename>
symlink by running:</para>
<para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
</sect2>
|