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 \
|
||||
$installdir/etc/odbcinst_template
|
||||
# do post-installation configuration
|
||||
# TODO: update this as postInstallScheduler.sh does not exist any more
|
||||
# $installdir/bin/postInstallScheduler.sh --directory $installdir \
|
||||
# --apache-group $apache_group \
|
||||
# --www-root $apache_docroot
|
||||
$installdir/bin/createDatabase.sh
|
||||
$installdir/bin/createOdbcDataSource.sh
|
||||
# register and start the livesupport scheduler deamon
|
||||
update-rc.d livesupport-station defaults 92 || true
|
||||
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
|
||||
mv -f $(CURDIR)/debian/livesupport/opt/livesupport/bin/scheduler \
|
||||
$(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
|
||||
mv -f $(CURDIR)/debian/livesupport/opt/livesupport/etc/scheduler.xml* \
|
||||
$(CURDIR)/debian/livesupport/opt/livesupport/etc/odbc* \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue