From 7c9a7059b87c7d9326d45ff8d003587e053aa262 Mon Sep 17 00:00:00 2001 From: Charles Brandt Date: Mon, 18 Nov 2013 08:10:34 -0500 Subject: [PATCH 1/2] Note added about registering the script to start automatically at boot --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 5f60e50..1b20f81 100644 --- a/README.md +++ b/README.md @@ -69,3 +69,12 @@ Logging By default, standard output goes to _/var/log/scriptname.log_ and error output to _/var/log/scriptname.err_. If you're not happy with that, change the variables `stdout_log` and `stderr_log`. + +Automatic Startup +------------------ +Continuing the above example, to have the service start automatically when the system starts, you can register it as follows: + +sudo chmod +x /etc/init.d/algorithms +sudo update-rc.d algorithms defaults + + From 9d2b01e5d705aaa2abd9a8e077fc463e80be3e71 Mon Sep 17 00:00:00 2001 From: Charles Brandt Date: Tue, 19 Nov 2013 08:10:49 -0500 Subject: [PATCH 2/2] proper indendation for markdown --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b20f81..0ffacd0 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Automatic Startup ------------------ Continuing the above example, to have the service start automatically when the system starts, you can register it as follows: -sudo chmod +x /etc/init.d/algorithms -sudo update-rc.d algorithms defaults + sudo chmod +x /etc/init.d/algorithms + sudo update-rc.d algorithms defaults