summary refs log tree commit diff
path: root/doc/install.html
blob: fa5b8721b5c14527461b977c3d90961a3ead3973 (plain) (blame)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>runit - installation</title>
</head>
<body>
<a href="http://smarden.org/pape/">G. Pape</a><br>
<a href="index.html">runit</a><br>
<hr>
<h1>runit - installation</h1>
<hr>
<i>runit</i> installs into
<a href="http://cr.yp.to/slashpackage.html">/package</a>.
If you don't have a <tt>/package</tt> directory, create it now:
<pre>
 # mkdir -p /package
 # chmod 1755 /package
</pre>
Download
<a href="runit-2.1.0.tar.gz">runit-2.1.0.tar.gz</a> into <tt>/package</tt>
and unpack the archive
<pre>
 # cd /package
 # gunzip runit-2.1.0.tar
 # tar -xpf runit-2.1.0.tar
 # rm runit-2.1.0.tar
 # cd admin/runit-2.1.0
</pre>
On MacOSX, do
<pre>
 # echo 'cc -Xlinker -x' &gt;src/conf-ld
 # cp src/Makefile src/Makefile.old
 # sed -e 's/ -static//' &lt;src/Makefile.old &gt;src/Makefile
</pre>
Now compile and install the <i>runit</i> programs
<pre>
 # package/install
</pre>
If you want to make the man pages available in the <tt>/usr/local/man/</tt>
hierarchy, do:
<pre>
 # package/install-man
</pre>
To report success:
<pre>
 # mail pape-runit-2.1.0@smarden.org &lt;compile/sysdeps
</pre>
If you use <i>runit</i> regularly, please
<a href="http://smarden.org/pape/#contribution">contribute</a> to the project.
<p>
Refer to <a href="replaceinit.html">replacing init</a> for
replacing <i>init</i> with <i>runit</i>, or to
<a href="useinit.html">use with traditional init</a> for running
<i>runit</i>'s service supervision with your system's current <i>init</i>
scheme.
<hr>
<address><a href="mailto:pape@smarden.org">
Gerrit Pape &lt;pape@smarden.org&gt;
</a></address>
</body>
</html>