X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fstorage.pp;h=09614309f1422f13410d58091c7776be2f093279;hb=ef17392d4ee5a13bf4107e6cc6dac0a19ddf6086;hp=91aee4194e6f12fa03dfc2221ac3c923b860602b;hpb=a5ffcf93be9b9c03cb2cb20ddcfbfd32b56a8634;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/storage.pp b/modules/bacula/manifests/storage.pp index 91aee4194..09614309f 100644 --- 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'],