summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-21 21:07:36 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-21 21:07:36 (GMT)
commit9209409f73d55e26e2d325e076077bdd056f5d39 (patch)
tree193795a2f30381f7447568a3edaa6dbaa2a3ee60 /abs/core/xymon
parentf7817cd6d6bc524fbce673ec68ebe7efab8e4a46 (diff)
downloadlinhes_pkgbuild-9209409f73d55e26e2d325e076077bdd056f5d39.zip
linhes_pkgbuild-9209409f73d55e26e2d325e076077bdd056f5d39.tar.gz
linhes_pkgbuild-9209409f73d55e26e2d325e076077bdd056f5d39.tar.bz2
xymon: add additional sudo script for running sv
Diffstat (limited to 'abs/core/xymon')
-rw-r--r--abs/core/xymon/PKGBUILD2
-rw-r--r--abs/core/xymon/xymon.install4
2 files changed, 4 insertions, 2 deletions
diff --git a/abs/core/xymon/PKGBUILD b/abs/core/xymon/PKGBUILD
index 9c1ef87..5332ff5 100644
--- a/abs/core/xymon/PKGBUILD
+++ b/abs/core/xymon/PKGBUILD
@@ -1,7 +1,7 @@
pkgbase=xymon
pkgname=(xymonserver xymonclient)
pkgver=4.3.5
-pkgrel=25
+pkgrel=26
pkgdesc="Hobbit is a system for monitoring servers and networks. "
license="GPL"
arch=('i686' 'x86_64')
diff --git a/abs/core/xymon/xymon.install b/abs/core/xymon/xymon.install
index ae6d3f1..8a1d798 100644
--- a/abs/core/xymon/xymon.install
+++ b/abs/core/xymon/xymon.install
@@ -24,10 +24,12 @@ post_install() {
chmod +s /data/srv/xymon/server/bin/xymonping
echo "Adding sudo permissions for nobody {certmaster-ca}"
echo "Adding sudo permissions for http {backup_job}"
+ echo "Adding sudo permissions for http {sv}"
LINE="nobody ALL = NOPASSWD:/usr/bin/certmaster-ca"
LINE1="http ALL = NOPASSWD:/usr/MythVantage/bin/backup_job"
+ LINE2="http ALL = NOPASSWD:/sbin/sv"
setfacl -R -m u:nobody:rwx /data/srv/httpd/htdocs
- for i in "$LINE" "$LINE1"
+ for i in "$LINE" "$LINE1" "$LINE2"
do
cp /etc/sudoers /etc/sudoers.bak
grep -q "$i" /etc/sudoers