show status in ps output by modifing $0
[BackupPC.git] / init.d / README
index deee880..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,27 @@ 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:
 =========