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(+) 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 From 581f3dc8c170f218abe2e8e00835910fe271485d Mon Sep 17 00:00:00 2001 From: Schylar Utley Date: Wed, 22 Mar 2017 11:40:31 -0500 Subject: Fix alvarion block issue --- lib/oxidized/model/alvarion.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/oxidized/model/alvarion.rb b/lib/oxidized/model/alvarion.rb index 3c762de..7a4dcc7 100644 --- a/lib/oxidized/model/alvarion.rb +++ b/lib/oxidized/model/alvarion.rb @@ -8,6 +8,8 @@ class Alvarion < Oxidized::Model end - cfg :tftp {} + cfg :tftp do + + end end -- cgit v1.2.1 From 4aeb996ef62bbc29ef707e7c5792894af86b6504 Mon Sep 17 00:00:00 2001 From: Schylar Utley Date: Wed, 22 Mar 2017 11:43:50 -0500 Subject: Clarify init setup --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e599796..5dcd7e0 100644 --- a/README.md +++ b/README.md @@ -900,7 +900,7 @@ hooks: # Extra -## Ubuntu init setup +## 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: @@ -912,16 +912,15 @@ The init script assumes that you have a used named 'oxidized' and that oxidized /usr/local/bin ``` -Copy init script from extra/ folder to /etc/init.d/oxidized - -Setup /var/run/ +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 ``` -To make oxidized start on boot +3.)Make oxidized start on boot ``` update-rc.d oxidized deafults -- cgit v1.2.1