blob: a03a13b3116cb677f6c81cd703312143674f6b89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
echo STARTING $0 $(date)
set -x
id
if [ -d /opt/app/postgresql-9.5.2 ]
then
rm -f $INSTALL_ROOT/opt/app/platform/postgres/pglogs.cron
su postgres -c "$INSTALL_ROOT/opt/app/platform/bin/mergeCron"
rmdir $INSTALL_ROOT/opt/app/platform/postgres
rm -f $INSTALL_ROOT/opt/app/platform/init.d/pgaas
rm -f $INSTALL_ROOT/opt/app/platform/rc.d/K20pgaas
rm -f $INSTALL_ROOT/opt/app/platform/rc.d/S20pgaas
fi
rm -f $INSTALL_ROOT/etc/init/pgaas-idns.conf $INSTALL_ROOT/etc/init/pgaas-init.conf
rm -f $INSTALL_ROOT/etc/logrotate.d/pgaas
|