From dc5583452203f43a9d85160f6140edbe55390575 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 12 Jul 2010 11:25:47 +1000 Subject: [PATCH] install script and others --- etc/pbdc.conf | 13 ++++++++++++- install.sh | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) mode change 100644 => 100755 bin/pbdc mode change 100644 => 100755 bin/pbdc-bacula mode change 100644 => 100755 install.sh diff --git a/bin/pbdc b/bin/pbdc old mode 100644 new mode 100755 diff --git a/bin/pbdc-bacula b/bin/pbdc-bacula old mode 100644 new mode 100755 diff --git a/etc/pbdc.conf b/etc/pbdc.conf index ad11b9f..76c4be1 100644 --- a/etc/pbdc.conf +++ b/etc/pbdc.conf @@ -3,4 +3,15 @@ BASE_LIB=/home/paulr/src/eclipse-workspace/php-bacula-disk-changer/lib/ BASE_DATA=/home/paulr/src/eclipse-workspace/php-bacula-disk-changer/db/ BACULA_USER="paulr" -export BACULA_USER BASE_DATA BASE_LIB BASE_DIR \ No newline at end of file +export BACULA_USER BASE_DATA BASE_LIB BASE_DIRBASE_DIR=/opt/pdbc +BASE_LIB=/opt/pdbc/lib/ +BASE_DATA=/opt/pdbc/db/ +BACULA_USER="bacula" + +export BACULA_USER BASE_DATA BASE_LIB BASE_DIR +BASE_DIR=/opt/pdbc +BASE_LIB=/opt/pdbc/lib/ +BASE_DATA=/opt/pdbc/db/ +BACULA_USER="bacula" + +export BACULA_USER BASE_DATA BASE_LIB BASE_DIR diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index be54318..2d56826 --- a/install.sh +++ b/install.sh @@ -30,4 +30,4 @@ EOF cp -rp bin/* $install_base/bin cp -rp lib/* $install_base/lib -chown -R $install_base \ No newline at end of file +chown -R $user_id $install_base \ No newline at end of file -- 1.7.0.4