X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=init.d%2FREADME;h=3d0aeaa5713c3d8e3d237b39f6ef21e6f5d97754;hp=4aee97bc4a1bf2b4519c3c383f765218ed707692;hb=c615e1bfc6f2b0604a2658996f5dd6b6cfa9469c;hpb=7dee89bfce659051d486cc66515bb7f22bbc4f09 diff --git a/init.d/README b/init.d/README index 4aee97b..3d0aeaa 100644 --- a/init.d/README +++ b/init.d/README @@ -34,14 +34,29 @@ Debian Linux: When configure.pl is run, the script debian-backuppc is created. -(Can a Debian user add some instructions here??) +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. -(Can a Suse user add some instructions here??) +Using Suse 9.0 "chkconfig --level" doesn't work, so you should run: + + chkconfig backuppc 345 + chkconfig --list backuppc Gentoo Linux: ============ @@ -64,6 +79,39 @@ 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: =======