summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/xymon.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xymon/xymon.install')
-rw-r--r--abs/core/xymon/xymon.install22
1 files changed, 11 insertions, 11 deletions
diff --git a/abs/core/xymon/xymon.install b/abs/core/xymon/xymon.install
index ec5e242..3abec38 100644
--- a/abs/core/xymon/xymon.install
+++ b/abs/core/xymon/xymon.install
@@ -1,9 +1,9 @@
post_install() {
. /etc/systemconfig
- if [ ! -f /data/srv/xymon/server/ext/ignoreclient.py ]
+ if [ ! -f /home/xymon/server/ext/ignoreclient.py ]
then
- echo "#this is a list of hosts to ignore" > /data/srv/xymon/server/ext/ignoreclient.py
- echo ignorehosts=\"\'ignoreme1\',\'ignoreme2\'\" >> /data/srv/xymon/server/ext/ignoreclient.py
+ echo "#this is a list of hosts to ignore" > /home/xymon/server/ext/ignoreclient.py
+ echo ignorehosts=\"\'ignoreme1\',\'ignoreme2\'\" >> /home/xymon/server/ext/ignoreclient.py
fi
if [ ! -f /data/srv/httpd/htdocs/failed_func_hosts ]
@@ -14,16 +14,16 @@ post_install() {
chmod 777 /data/srv/httpd/htdocs/failed_func_hosts
- sed -i -e "s/localhost/$hostname/" /data/srv/xymon/server/etc/hosts.cfg
- sed -i -e "s/\#/\# func/" /data/srv/xymon/server/etc/hosts.cfg
- sed -i -e "s/localhost/$hostname/" /data/srv/xymon/server/etc/xymonserver.cfg
- chown -R nobody /data/srv/xymon
+ sed -i -e "s/localhost/$hostname/" /home/xymon/server/etc/hosts.cfg
+ sed -i -e "s/\#/\# func/" /home/xymon/server/etc/hosts.cfg
+ sed -i -e "s/localhost/$hostname/" /home/xymon/server/etc/xymonserver.cfg
+ chown -R nobody /home/xymon
chown -R nobody /data/srv/httpd/htdocs/xymon
chown -R nobody /var/log/hobbit
- chown root /data/srv/xymon/server/bin/xymonping
- chmod +s /data/srv/xymon/server/bin/xymonping
-
-
+ chown root /home/xymon/server/bin/xymonping
+ chmod +s /home/xymon/server/bin/xymonping
+
+