use unit all over
[BackupPC.git] / init.d / README
index 76b4434..3d0aeaa 100644 (file)
@@ -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:
 =======