aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xymon/manifests')
-rw-r--r--modules/xymon/manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/xymon/manifests/init.pp b/modules/xymon/manifests/init.pp
index c870d21e..d20bf795 100644
--- a/modules/xymon/manifests/init.pp
+++ b/modules/xymon/manifests/init.pp
@@ -19,8 +19,9 @@ class xymon {
package { ["xymon","fping"]: }
service { xymon:
- ensure => running,
- path => '/etc/init.d/xymon',
+ hasstatus => false,
+ status => "su xymon -c '/usr/lib64/xymon/server/hobbit.sh status'",
+ require => Package['xymon'],
}
File {