X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=init.d%2FREADME;fp=init.d%2FREADME;h=c696a770fa9f63e6d6c810bd023bc41765de6b80;hp=0000000000000000000000000000000000000000;hb=1ce7d1541ea1279aaa0a75c16986a3fd40b608ec;hpb=1f6ea3c936d9f6e195550c0aa0fef9ab40505cc3 diff --git a/init.d/README b/init.d/README new file mode 100644 index 0000000..c696a77 --- /dev/null +++ b/init.d/README @@ -0,0 +1,45 @@ +This directory contains some scripts for auto-starting BackupPC +on boot. + +The subdirectory src contains source versions of these scripts (before +various absolute paths have been filled in). + +Here are instrcutions for different OSs. Please submit additions +or improvements to this list! + +RedHat Linux: +============ + +When configure.pl is run, the script linux-backuppc is created. It +should be copied to /etc/init.d/backuppc: + + cp linux-backuppc /etc/init.d/backuppc + +After copying it, you can test it by running these commands as root: + + /etc/init.d/backuppc start + /etc/init.d/backuppc status + /etc/init.d/backuppc stop + +You should then run the following commands as root: + + chkconfig --add backuppc + chkconfig --level 345 backuppc on + chkconfig --list backuppc + +This will auto-start backuppc at run levels 3, 4 and 5. + +Solaris: +======= + +When configure.pl is run the shell script solaris-backuppc is created. +This should be copied to /etc/init.d and links made in /etc/rc3.d +and /etc/rc0.d. + + cp solaris-backuppc /etc/init.d/backuppc + ln -s /etc/init.d/backuppc /etc/rc3.d/S85backuppc + ln -s /etc/init.d/backuppc /etc/rc0.d/K85backuppc + +This will auto-start backuppc at run level 3 and stop it at run level 0. + +*** NOTE: the solaris startup script and instructions have not been tested ***