From 7330a4955e5bac649b3a4d9da3007ff90f267cdf Mon Sep 17 00:00:00 2001 From: Schylar Utley Date: Wed, 22 Mar 2017 11:37:52 -0500 Subject: Add Service Instructions --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.1