summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
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'] ],