X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=1a1fbb6d0eeec3b55a942334969014dc71bce10a;hb=354e61c5ff3a9654b206f9602266506697b7f378;hp=4b466df67a15997dfa2b447f607f1e5d527fbf6d;hpb=2018f98e730c9f88bfd5649abc7ad14d70f029cd;p=bacula-cn.git diff --git a/debian/postinst b/debian/postinst index 4b466df..1a1fbb6 100644 --- a/debian/postinst +++ b/debian/postinst @@ -259,6 +259,8 @@ Console { Password = "$PASS_BCONSOLE" # password for bconsole(8) JobACL = $HOST, RestoreFiles ClientACL = $HOST-fd + StorageACL = $HOST-stor + PoolACL = $HOST-pool, tmp } Pool { @@ -280,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 pool=$HOST-pool" + } } EOF