summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2017-03-23 01:25:06 +0200
committerGitHub <noreply@github.com>2017-03-23 01:25:06 +0200
commit4a67e27742c0ab8ed6cd8421d34c01c0de588705 (patch)
tree520a34b65e9ef88abeaa4eb8bf049cc808ea075b /README.md
parente4f4b4bdf48c7a1cf604841a3a8999f4408efdbb (diff)
parent4aeb996ef62bbc29ef707e7c5792894af86b6504 (diff)
Merge pull request #780 from MajesticFalcon/master
Add init script instructions and Model fix
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2317b5e..5dcd7e0 100644
--- a/README.md
+++ b/README.md
@@ -898,6 +898,34 @@ hooks:
channel: "#network-changes"
```
+# Extra
+
+## Ubuntu SystemV 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
+```
+
+1.)Copy init script from extra/ folder to /etc/init.d/oxidized
+2.)Setup /var/run/
+
+```
+mkdir /var/run/oxidized
+chown oxidized:oxidized /var/run/oxidized
+```
+
+3.)Make oxidized start on boot
+
+```
+update-rc.d oxidized deafults
+```
+
Note the channel name must be in quotes.
# Ruby API