X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=init.d%2FREADME;h=3d0aeaa5713c3d8e3d237b39f6ef21e6f5d97754;hp=76b4434cfc1e5c075b089c104149d4f32dc1a58a;hb=b0b1fbd99a36f1fd3a40f7a25edf99d029667f40;hpb=bd6334a9c72e7fa75f13fd6426f5a8a8cd4ab8b1 diff --git a/init.d/README b/init.d/README index 76b4434..3d0aeaa 100644 --- a/init.d/README +++ b/init.d/README @@ -34,7 +34,19 @@ 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: ========== @@ -67,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: =======