X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fbacula-idle-restart.erb;h=a19101da9396f0c47b424725221c901eebe07f77;hb=7b3a9d7a8a09ece8eecaff50fdc8cd513961dbdb;hp=2f331aaae1e105757a14cb13be22e2c1d30c2e1a;hpb=7731d83d098545119ac64acfb9d595a7abc2abea;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/bacula-idle-restart.erb b/modules/bacula/templates/bacula-idle-restart.erb index 2f331aaae..a19101da9 100644 --- a/modules/bacula/templates/bacula-idle-restart.erb +++ b/modules/bacula/templates/bacula-idle-restart.erb @@ -10,10 +10,10 @@ set -e if [ "$1" = "fd" ];then - PORT=9102 + PORT=<%= bacula_client_port %> DIR="bacula-fd" elif [ "$1" = "sd" ]; then - PORT=9103 + PORT=<%= bacula_storage_port %> DIR="bacula-sd" else # Usage