]> git.pld-linux.org Git - packages/bacula.git/blame - make_catalog_backup-setup-home.patch
- setup $HOME in make_catalog_backup, so you could store passwords in file rather...
[packages/bacula.git] / make_catalog_backup-setup-home.patch
CommitLineData
e32bc3f6
ER
1--- bacula-5.0.3/./src/cats/make_catalog_backup.in~ 2010-10-22 17:51:14.000000000 +0300
2+++ bacula-5.0.3/./src/cats/make_catalog_backup.in 2010-10-22 17:53:17.329321909 +0300
3@@ -13,11 +13,13 @@
4 # line arguments and the environment using ps. Please consult your
5 # MySQL or PostgreSQL manual for secure methods of specifying the
6 # password.
7+# In MySQL, you can create @working_dir@/.my.cnf and put password there in [client] section
8 # $4 is the host on which the database is located
9 # (default "")
10 #
11 #
12 BINDIR=@SQL_BINDIR@
13+HOME=@working_dir@
14
15 cd @working_dir@
16 rm -f $1.sql
This page took 0.06056 seconds and 4 git commands to generate.