summaryrefslogtreecommitdiffabout
path: root/init/README
blob: 1ceb38b780188d1e26029771463d8064f7f08061 (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
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
62
63
64
This directory contains start up files for various GNU/Linux distributions:

* slackware  
================
A traditional rc file for Slackware.

Usage:

1. Install the script

 $ cp slackware /etc/rc.d/rc.varnish-mib

2. Edit /etc/rc.d/rc.local, adding the following line to it:

 /etc/rc.d/rc.varnish-mib start

3. If you have /etc/rc.d/rc.varnish-mib script (recommended), add the
following line to it:

 /etc/rc.d/rc.varnish-mib stop

4. Finally, start it:

 /etc/rc.d/rc.varnish-mib start

* slackware.genrc
=================
Same as above, for those who use the genrc helper. See

  http://www.gnu.org.ua/software/genrc, for documentation and
  http://git.gnu.org.ua/cgit/genrc.git, for downloads.

* rh
================
This script is for Red Hat (Fedora) distributions with SystemV initialization.

Usage:

 $ cp rh /etc/init.d/varnish-mib
 $ chkconfig --add varnish-mib
 $ /etc/init.d/varnish-mib start

* debian 
================
This is for debian-based distributions (Debian, Ubuntu, etc), featuring
SystemV initialization. 

Usage:

 $ cp debian /etc/init.d/varnish-mib
 $ update-rc.d varnish-mib defaults
 $ /etc/init.d/varnish-mib start

* varnish-mib.service
========================
Service unit file for any distribution running systemd.

Usage:

 $ cp varnish-mib.service /etc/systemd/system/
 $ systemctl enable varnish-mib
 $ systemctl start varnish-mib

Hope that helps.

Return to:

Send suggestions and report system problems to the System administrator.