From cfedf67d3441ba088f653e37b210b46b089d7955 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 30 Jan 2012 16:11:52 -0200 Subject: Status not working, using pattern instead --- manifests/init.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index bf20bd4..46df5b3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -69,11 +69,13 @@ class qwebirc($ircserver = 'irc.myserver.com', $ircport = '6667', $realname = 'h notify => Service['qwebirc'], } + # TODO: check why status is not working service { 'qwebirc': enable => true, ensure => running, hasrestart => true, - hasstatus => true, + hasstatus => false, + pattern => 'python /var/lib/qwebirc/run.py', require => [ File['/etc/init.d/qwebirc', '/var/lib/qwebirc/config.py', '/var/lib/qwebirc/qwebirc/ircclient.py'], Package['python-twisted'] ], -- cgit v1.2.3