summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-27 16:27:15 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-27 16:27:15 (GMT)
commit355afddbb2ce54ed1dcc59d88ed30b66f5cffbd8 (patch)
treec6d7af39f83082f50111bb6298e6049cf2f3e496
parent39a9723939df604cdf8b1bbc9709067e1055a059 (diff)
downloadlinhes_pkgbuild-355afddbb2ce54ed1dcc59d88ed30b66f5cffbd8.zip
linhes_pkgbuild-355afddbb2ce54ed1dcc59d88ed30b66f5cffbd8.tar.gz
linhes_pkgbuild-355afddbb2ce54ed1dcc59d88ed30b66f5cffbd8.tar.bz2
xymon: correct sudo rules to run the system backup job.
-rw-r--r--abs/core/xymon/PKGBUILD2
-rw-r--r--abs/core/xymon/xymon.install2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/xymon/PKGBUILD b/abs/core/xymon/PKGBUILD
index 2b18cdb..5a41fd9 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=29
+pkgrel=30
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 8a1d798..067030e 100644
--- a/abs/core/xymon/xymon.install
+++ b/abs/core/xymon/xymon.install
@@ -26,7 +26,7 @@ post_install() {
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"
+ LINE1="http ALL = NOPASSWD:/usr/LH/bin/lh_system_backup_job"
LINE2="http ALL = NOPASSWD:/sbin/sv"
setfacl -R -m u:nobody:rwx /data/srv/httpd/htdocs
for i in "$LINE" "$LINE1" "$LINE2"