summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/xymon.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-07-02 14:40:58 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-07-02 14:40:58 (GMT)
commit6df05bf800839e95f4b03f67207e7fdba3a4c90b (patch)
tree6d98eb6a8eb3ed5c16f8b8a1a2ad8c8ac5083d3b /abs/core/xymon/xymon.install
parent5d810f391b2071415598c8d29dd96d4c1c38ae1d (diff)
parentc9041c8753b14ad9616c8dc3deb0e0426d94fd5f (diff)
downloadlinhes_pkgbuild-6df05bf800839e95f4b03f67207e7fdba3a4c90b.zip
linhes_pkgbuild-6df05bf800839e95f4b03f67207e7fdba3a4c90b.tar.gz
linhes_pkgbuild-6df05bf800839e95f4b03f67207e7fdba3a4c90b.tar.bz2
Merge branch 'testing' of linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/xymon/xymon.install')
-rwxr-xr-x[-rw-r--r--]abs/core/xymon/xymon.install9
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