projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a12c400
)
Use sh -c for bacula-sd restart-when-idle too
author
Tollef Fog Heen
<tfheen@err.no>
Mon, 22 Apr 2013 21:13:02 +0000
(23:13 +0200)
committer
Tollef Fog Heen
<tfheen@err.no>
Mon, 22 Apr 2013 21:13:02 +0000
(23:13 +0200)
modules/bacula/manifests/storage.pp
patch
|
blob
|
history
diff --git
a/modules/bacula/manifests/storage.pp
b/modules/bacula/manifests/storage.pp
index
91aee41
..
0961430
100644
(file)
--- a/
modules/bacula/manifests/storage.pp
+++ b/
modules/bacula/manifests/storage.pp
@@
-12,7
+12,7
@@
class bacula::storage inherits bacula {
exec { 'bacula-sd restart-when-idle':
path => '/usr/bin:/usr/sbin:/bin:/sbin',
- command => '
(setsid /usr/local/sbin/bacula-idle-restart sd &)
',
+ command => '
sh -c "setsid /usr/local/sbin/bacula-idle-restart sd &"
',
refreshonly => true,
subscribe => File['/etc/ssl/debian/certs/thishost.crt'],
require => File['/usr/local/sbin/bacula-idle-restart'],