X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=init.d%2FREADME;h=3d0aeaa5713c3d8e3d237b39f6ef21e6f5d97754;hp=c696a770fa9f63e6d6c810bd023bc41765de6b80;hb=ec2bfb5d93994c39238ad23c4df1da82f5bef0d5;hpb=1ce7d1541ea1279aaa0a75c16986a3fd40b608ec diff --git a/init.d/README b/init.d/README index c696a77..3d0aeaa 100644 --- a/init.d/README +++ b/init.d/README @@ -29,6 +29,89 @@ You should then run the following commands as root: This will auto-start backuppc at run levels 3, 4 and 5. +Debian Linux: +============ + +When configure.pl is run, the script debian-backuppc is created. + +Copy the debian startup script: + + cp debian-backuppc /etc/init.d/backuppc + +Run the following command to install in rc.d: + + update-rc.d backuppc defaults + +Set the correct init.d rights: + + chmod 755 /etc/init.d/backuppc + +Usage: /etc/init.d/backuppc {start|stop|restart|reload} + +Suse Linux: +========== + +When configure.pl is run, the script suse-backuppc is created. + +Using Suse 9.0 "chkconfig --level" doesn't work, so you should run: + + chkconfig backuppc 345 + chkconfig --list backuppc + +Gentoo Linux: +============ + +When configure.pl is run, the script gentoo-backuppc and the init conf files +gentoo-backuppc.conf are created. They should be copied to the following +locations: + + cp gentoo-backuppc /etc/init.d/backuppc + cp gentoo-backuppc.conf /etc/conf.d/backuppc + +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 + +After copying these files, run the following as root to make BackupPC to +start automatically at boot (at the default run level): + + rc-update add backuppc default + +FreeBSD: +======= + +When configure.pl is run, the script freebsd-backuppc is created. +An alternative more compact script is freebsd-backuppc2, submitted +by Dan Niles. + +Copy one of these scripts to /usr/local/etc/rc.d/backuppc and make +execuatble. + +Add the following line to /etc/rc.conf to enable BackupPC: + +backuppc_enable=(bool): Set to "NO" by default. + Set it to "YES" to enable BackupPC. + +Example: + + backuppc_enable="YES" + +The script accepts: start, stop, restart, reload, status + +Slackware: +========= + +When configure.pl is run, the script slackware-backuppc is created. + +Install it by running these commands as root: + + cp slackware-backuppc /etc/rc.d/rc.backuppc + chmod 755 /etc/rc.d/rc.backuppc + +then use an editor to add /etc/rc.d/rc.backuppc to /etc/rc.d/rc.local + Solaris: ======= @@ -42,4 +125,4 @@ and /etc/rc0.d. 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 *** +(Can a Solaris user please tell me if these instructions are correct?)