commit ed11f614fba9d0be41bbf81357e0ae23784e8615
parent 1d3273f1ee189a170ffba8ba56eca284f59afc69
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Sat, 3 May 2014 15:33:26 +0200
Documenting init and rc.d scripts
Diffstat:
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -40,13 +40,25 @@ By default, RRDA will bind on localhost, port 8080.
## Running RRDA at boot time
-RRDA is bundled with a Debian initscript, see : `debian/rrda`
+### Debian init script
-Modify the line containing `DAEMON=rrda` and specify the path to your RRDA binary.
+RRDA is bundled with a Debian init script, see : `debian/rrda`
+
+Copy the `debian/rrda` file in `/etc/init.d` and modify the line containing `DAEMON=rrda` to specify the path to your RRDA binary.
To launch the daemon at startup, run :
update-rc.d rrda defaults
+
+### FreeBSD rc.d script
+
+RRDA is bundled with a FreeBSD rc.d script, see : `freebsd/rrda`
+
+Copy the `freebsd/rrda` file in `/usr/local/etc/rc.d` and the RRDA binary in `/usr/local/sbin`.
+
+To launch the daemon at startup, add the following line in `/etc/rc.conf` :
+
+ rrda_enable="YES"
## Making Queries