3,217
edits
Changes
Bacula
,no edit summary
My recipe is:
<source lang="xml">
as you can see:
#i I install/upgrade bacula, then i I stop and deactivate it (as stated on intro, default installation for all clients, but not activated)#on upgrade, '''bacula service have to be removed for a real silent installation''', so i I stop and remove it before upgrade
Done that, iI've to configure, and i I use this recipe:
<source lang="xml">
</source>
Note the ececuteexecute=once, so this recipe have no check condition nor an upgrade command.
The bacula.bat script simply copy copies configuration files and scripts from a directory based on the hostname:
<source lang="dos">
:: We use the %COMPUTERNAME% variable to setup conditionally the bacula daemon
:: Note the dirs for english English and italian Italian configuration files, add/modify as needed
::
if exist "%WPKGROOT%\packages\bacula\%COMPUTERNAME%.conf" (
</source>
The only drawback for now are : if i I upgrade the binary (package bacula), i've I have to upgrade also the settings (bacula-settings) because by default the bacula package disable disables the service, and only the -settings package enable enables it.
[[Category:Silent Installers]]