* removed Host_or_User_name from lang files
[BackupPC.git] / init.d / README
1 This directory contains some scripts for auto-starting BackupPC
2 on boot.
3
4 The subdirectory src contains source versions of these scripts (before
5 various absolute paths have been filled in).
6
7 Here are instrcutions for different OSs.  Please submit additions
8 or improvements to this list!
9
10 RedHat Linux:
11 ============
12
13 When configure.pl is run, the script linux-backuppc is created. It
14 should be copied to /etc/init.d/backuppc:
15
16     cp linux-backuppc /etc/init.d/backuppc
17
18 After copying it, you can test it by running these commands as root:
19
20     /etc/init.d/backuppc start
21     /etc/init.d/backuppc status
22     /etc/init.d/backuppc stop
23
24 You should then run the following commands as root:
25
26     chkconfig --add backuppc
27     chkconfig --level 345 backuppc on
28     chkconfig --list backuppc
29
30 This will auto-start backuppc at run levels 3, 4 and 5.
31
32 Debian Linux:
33 ============
34
35 When configure.pl is run, the script debian-backuppc is created.
36
37 (Can a Debian user add some instructions here??)
38
39 Suse Linux:
40 ==========
41
42 When configure.pl is run, the script suse-backuppc is created.
43
44 (Can a Suse user add some instructions here??)
45
46 Gentoo Linux:
47 ============
48
49 When configure.pl is run, the script gentoo-backuppc and the init conf files
50 gentoo-backuppc.conf are created. They should be copied to the following
51 locations:
52
53     cp gentoo-backuppc /etc/init.d/backuppc
54     cp gentoo-backuppc.conf /etc/conf.d/backuppc
55
56 You can test it by running these commands as root:
57
58     /etc/init.d/backuppc start
59     /etc/init.d/backuppc status
60     /etc/init.d/backuppc stop
61
62 After copying these files, run the following  as root to make BackupPC to
63 start automatically at boot (at the default run level):
64
65     rc-update add backuppc default
66
67 Solaris:
68 =======
69
70 When configure.pl is run the shell script solaris-backuppc is created.
71 This should be copied to /etc/init.d and links made in /etc/rc3.d
72 and /etc/rc0.d.
73
74     cp solaris-backuppc /etc/init.d/backuppc
75     ln -s /etc/init.d/backuppc /etc/rc3.d/S85backuppc
76     ln -s /etc/init.d/backuppc /etc/rc0.d/K85backuppc
77
78 This will auto-start backuppc at run level 3 and stop it at run level 0.
79
80 (Can a Solaris user please tell me if these instructions are correct?)