updated debian rules to create database and set up odbc data source
This commit is contained in:
parent
f813b837d1
commit
9c65ccebcf
2 changed files with 4 additions and 4 deletions
|
@ -27,10 +27,8 @@ case "$1" in
|
||||||
cp -f $installdir/etc/odbcinst_debian_template \
|
cp -f $installdir/etc/odbcinst_debian_template \
|
||||||
$installdir/etc/odbcinst_template
|
$installdir/etc/odbcinst_template
|
||||||
# do post-installation configuration
|
# do post-installation configuration
|
||||||
# TODO: update this as postInstallScheduler.sh does not exist any more
|
$installdir/bin/createDatabase.sh
|
||||||
# $installdir/bin/postInstallScheduler.sh --directory $installdir \
|
$installdir/bin/createOdbcDataSource.sh
|
||||||
# --apache-group $apache_group \
|
|
||||||
# --www-root $apache_docroot
|
|
||||||
# register and start the livesupport scheduler deamon
|
# register and start the livesupport scheduler deamon
|
||||||
update-rc.d livesupport-station defaults 92 || true
|
update-rc.d livesupport-station defaults 92 || true
|
||||||
if command -v invoke-rc.d >/dev/null 2>&1 ; then
|
if command -v invoke-rc.d >/dev/null 2>&1 ; then
|
||||||
|
|
|
@ -91,6 +91,8 @@ install-arch:
|
||||||
mkdir -p $(CURDIR)/debian/livesupport-station/opt/livesupport/usr/lib
|
mkdir -p $(CURDIR)/debian/livesupport-station/opt/livesupport/usr/lib
|
||||||
mv -f $(CURDIR)/debian/livesupport/opt/livesupport/bin/scheduler \
|
mv -f $(CURDIR)/debian/livesupport/opt/livesupport/bin/scheduler \
|
||||||
$(CURDIR)/debian/livesupport/opt/livesupport/bin/scheduler.sh \
|
$(CURDIR)/debian/livesupport/opt/livesupport/bin/scheduler.sh \
|
||||||
|
$(CURDIR)/debian/livesupport/opt/livesupport/bin/createDatabase.sh \
|
||||||
|
$(CURDIR)/debian/livesupport/opt/livesupport/bin/createOdbcDataSource.sh \
|
||||||
$(CURDIR)/debian/livesupport-station/opt/livesupport/bin
|
$(CURDIR)/debian/livesupport-station/opt/livesupport/bin
|
||||||
mv -f $(CURDIR)/debian/livesupport/opt/livesupport/etc/scheduler.xml* \
|
mv -f $(CURDIR)/debian/livesupport/opt/livesupport/etc/scheduler.xml* \
|
||||||
$(CURDIR)/debian/livesupport/opt/livesupport/etc/odbc* \
|
$(CURDIR)/debian/livesupport/opt/livesupport/etc/odbc* \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue