diff options
Diffstat (limited to 'modules/xymon')
-rw-r--r-- | modules/xymon/manifests/init.pp | 5 |
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 { |