From d458417476c505c26783f7d1a1bcce9fa5b60309 Mon Sep 17 00:00:00 2001 From: Schylar Utley Date: Wed, 22 Mar 2017 08:54:53 -0500 Subject: Edit init script --- extra/oxidized.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/oxidized.init b/extra/oxidized.init index 197c5b1..8a996c2 100755 --- a/extra/oxidized.init +++ b/extra/oxidized.init @@ -15,11 +15,11 @@ set -e PATH=/sbin:/bin:/usr/sbin:/usr/bin -DAEMON=/home/sts/oxidized/bin/oxidized +DAEMON=PATH_TO_OXIDIZED_BIN NAME="oxidized" DESC="Oxidized - Network Device Configuration Backup Tool" ARGS="" -USER="sts" +USER="USER_FOR_OXIDIZED_SERVICE" test -x $DAEMON || exit 0 -- cgit v1.2.1 From 50a589265fa240de2d7e918cb4cca488684d2ee1 Mon Sep 17 00:00:00 2001 From: Schylar Utley Date: Wed, 22 Mar 2017 10:04:52 -0500 Subject: Update oxidized.init --- extra/oxidized.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/oxidized.init b/extra/oxidized.init index 8a996c2..64758fb 100755 --- a/extra/oxidized.init +++ b/extra/oxidized.init @@ -15,11 +15,11 @@ set -e PATH=/sbin:/bin:/usr/sbin:/usr/bin -DAEMON=PATH_TO_OXIDIZED_BIN +DAEMON=/usr/local/bin/oxidized NAME="oxidized" DESC="Oxidized - Network Device Configuration Backup Tool" ARGS="" -USER="USER_FOR_OXIDIZED_SERVICE" +USER="oxidized" test -x $DAEMON || exit 0 -- cgit v1.2.1 From 155d13a045a59f708ea0195e7ae91cbbbd75f7e8 Mon Sep 17 00:00:00 2001 From: Schylar Utley Date: Wed, 22 Mar 2017 11:01:23 -0500 Subject: Update oxidized.init --- extra/oxidized.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/oxidized.init b/extra/oxidized.init index 64758fb..7a9698d 100755 --- a/extra/oxidized.init +++ b/extra/oxidized.init @@ -14,8 +14,8 @@ set -e -PATH=/sbin:/bin:/usr/sbin:/usr/bin -DAEMON=/usr/local/bin/oxidized +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin +DAEMON=$(which oxidized) NAME="oxidized" DESC="Oxidized - Network Device Configuration Backup Tool" ARGS="" -- cgit v1.2.1