diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-10 22:43:38 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-10 22:44:37 (GMT) |
commit | 98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd (patch) | |
tree | 8b063a4226471c2206c21a23ab060f643b16eed0 /abs/core/xymon/xymon.install | |
parent | 86a66e21bf7b444dbab401e699da74df38fb9dcf (diff) | |
download | linhes_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/xymon/xymon.install')
-rw-r--r-- | abs/core/xymon/xymon.install | 22 |
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 + + |