From: Silvio Rhatto Date: Sat, 11 Aug 2012 16:39:29 +0000 (-0300) Subject: Notifying bitcoind service X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6aea39ca5a889ae130575987e89db6e09f0bcdd3;p=puppet-bitcoind.git Notifying bitcoind service --- diff --git a/manifests/init.pp b/manifests/init.pp index d086b50..b553818 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -40,6 +40,7 @@ class bitcoind($daemon_args = '-daemon', $rpcpassword) { mode => 0600, content => template('bitcoind/bitcoin.conf.erb'), require => File['/var/lib/bitcoin/.bitcoin'], + notify => Service['bitcoind'], } file { '/etc/init.d/bitcoind': @@ -48,6 +49,7 @@ class bitcoind($daemon_args = '-daemon', $rpcpassword) { group => root, mode => 0755, content => template('bitcoind/bitcoind-init.d.sh.erb'), + notify => Service['bitcoind'], } service { 'bitcoind':