summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
1 files changed, 2 insertions, 0 deletions
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':