diff options
author | James Meyer <james.meyer@operamail.com> | 2013-05-22 13:59:01 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-05-22 13:59:01 (GMT) |
commit | af45a8d8c845649ef9ede55cd0204462cad0ad82 (patch) | |
tree | 85332fa12f3f2896516a60a3cc80cb7de90134b7 /abs/core/xymon/xymon.install | |
parent | 7e6f7ca174e1af67178dc5293a312a4a733eb095 (diff) | |
download | linhes_pkgbuild-af45a8d8c845649ef9ede55cd0204462cad0ad82.zip linhes_pkgbuild-af45a8d8c845649ef9ede55cd0204462cad0ad82.tar.gz linhes_pkgbuild-af45a8d8c845649ef9ede55cd0204462cad0ad82.tar.bz2 |
xymon client/server: fix logrotate, so it doesn't create files like log.1.1.1.1.1.1.1..1.1.1.1.1 and use up all the inodes.
server: fix permissions on the snap reports
refs #921
Diffstat (limited to 'abs/core/xymon/xymon.install')
-rwxr-xr-x[-rw-r--r--] | abs/core/xymon/xymon.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/core/xymon/xymon.install b/abs/core/xymon/xymon.install index 3c9680b..90af45b 100644..100755 --- a/abs/core/xymon/xymon.install +++ b/abs/core/xymon/xymon.install @@ -17,9 +17,18 @@ post_install() { sed -i -e "s/localhost/$hostname/" /home/xymon/server/etc/hosts.cfg sed -i -e "s/\# bbd/\# bbd func/" /home/xymon/server/etc/hosts.cfg sed -i -e "s/localhost/$hostname/" /home/xymon/server/etc/xymonserver.cfg + #fix permissions chown -R nobody /home/xymon chown -R nobody /data/srv/httpd/htdocs/xymon + + + chown -R nobody:http /data/srv/httpd/htdocs/xymon/snap + chown -R nobody:http /data/srv/httpd/htdocs/xymon/rep + chmod -R 775 /data/srv/httpd/htdocs/xymon/rep + chmod -R 775 /data/srv/httpd/htdocs/xymon/snap + chown -R nobody /var/log/hobbit + chown root /home/xymon/server/bin/xymonping chmod +s /home/xymon/server/bin/xymonping |