summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-09-10 22:43:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-09-10 22:44:37 (GMT)
commit98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd (patch)
tree8b063a4226471c2206c21a23ab060f643b16eed0 /abs/core/runit-scripts/runitscripts
parent86a66e21bf7b444dbab401e699da74df38fb9dcf (diff)
downloadlinhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.zip
linhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.tar.gz
linhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.tar.bz2
xymon/runit scripts: moved from /data/srv/xymon to /home/xymon.
This was done to preserve rrd's on upgrade
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rw-r--r--abs/core/runit-scripts/runitscripts/services/xymon-client/run2
-rw-r--r--abs/core/runit-scripts/runitscripts/services/xymon-server/run2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/xymon-client/run b/abs/core/runit-scripts/runitscripts/services/xymon-client/run
index a454c6b..fcd5093 100644
--- a/abs/core/runit-scripts/runitscripts/services/xymon-client/run
+++ b/abs/core/runit-scripts/runitscripts/services/xymon-client/run
@@ -46,7 +46,7 @@ do
done
XYMONCLIENTHOME="`dirname $0`"
-XYMONCLIENTHOME="/data/srv/xymon/client"
+XYMONCLIENTHOME="/home/xymon/client"
export MACHINEDOTS SERVEROSTYPE XYMONOSSCRIPT XYMONCLIENTHOME CONFIGCLASS
MACHINE="`echo $MACHINEDOTS | sed -e 's/\./,/g'`"
diff --git a/abs/core/runit-scripts/runitscripts/services/xymon-server/run b/abs/core/runit-scripts/runitscripts/services/xymon-server/run
index b850c0a..6198543 100644
--- a/abs/core/runit-scripts/runitscripts/services/xymon-server/run
+++ b/abs/core/runit-scripts/runitscripts/services/xymon-server/run
@@ -6,4 +6,4 @@ export TERM=linux
stat_runit "Starting xymon server"
-exec sudo -u nobody /data/srv/xymon/server/bin/xymonlaunch --config=/data/srv/xymon/server/etc/tasks.cfg --env=/data/srv/xymon/server/etc/xymonserver.cfg --log=/var/log/hobbit/xymonlaunch.log --pidfile=/var/log/hobbit/xymonlaunch.pid --no-daemon
+exec sudo -u nobody /home/xymon/server/bin/xymonlaunch --config=/home/xymon/server/etc/tasks.cfg --env=/home/xymon/server/etc/xymonserver.cfg --log=/var/log/hobbit/xymonlaunch.log --pidfile=/var/log/hobbit/xymonlaunch.pid --no-daemon