summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchylar Utley <schylarutley@hotmail.com>2017-03-22 11:37:52 -0500
committerSchylar Utley <schylarutley@hotmail.com>2017-03-22 11:37:52 -0500
commit7330a4955e5bac649b3a4d9da3007ff90f267cdf (patch)
tree4b66fed70ee10ca1fd620596e929da4b0c5ef6b0
parente4f4b4bdf48c7a1cf604841a3a8999f4408efdbb (diff)
Add Service Instructions
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2317b5e..e599796 100644
--- a/README.md
+++ b/README.md
@@ -898,6 +898,35 @@ hooks:
channel: "#network-changes"
```
+# Extra
+
+## Ubuntu init setup
+
+The init script assumes that you have a used named 'oxidized' and that oxidized is in one of the following paths:
+
+```
+/sbin
+/bin
+/usr/sbin
+/usr/bin
+/usr/local/bin
+```
+
+Copy init script from extra/ folder to /etc/init.d/oxidized
+
+Setup /var/run/
+
+```
+mkdir /var/run/oxidized
+chown oxidized:oxidized /var/run/oxidized
+```
+
+To make oxidized start on boot
+
+```
+update-rc.d oxidized deafults
+```
+
Note the channel name must be in quotes.
# Ruby API