X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=5e06a5cd44724f5b12ddc33a7a4bee99b6fe4f9e;hb=8b6471f09ecf1312e12aab4b8f12da811f434964;hp=6e40f97eefbc0657d07d8460dd38b5646804df1e;hpb=6eb2a14fd4ceb26b101631001ff2e3cf2a46b4a7;p=bacula-cn.git diff --git a/debian/postinst b/debian/postinst index 6e40f97..5e06a5c 100644 --- a/debian/postinst +++ b/debian/postinst @@ -260,7 +260,7 @@ Console { JobACL = $HOST, RestoreFiles ClientACL = $HOST-fd StorageACL = $HOST-stor - PoolACL = $HOST-pool + PoolACL = $HOST-pool, tmp } Pool { @@ -282,6 +282,11 @@ Job { JobDefs = "Job_SysBackup" Pool = $HOST-pool Storage = $HOST-stor + RunScript { + RunsWhen=After + RunsOnClient=No + Console = "purge volume action=all storage=$HOST-stor allpools" + } } EOF