From: root Date: Mon, 12 Jul 2010 01:25:47 +0000 (+1000) Subject: install script and others X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=dc5583452203f43a9d85160f6140edbe55390575;p=php-bacula-disk-changer.git install script and others --- 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