From 6c1a1439233b3ba7117595b6596549f4c3b012d3 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Mon, 22 Apr 2013 23:13:02 +0200 Subject: [PATCH] Use sh -c for bacula-sd restart-when-idle too --- modules/bacula/manifests/storage.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], -- 2.20.1