Ignore:
Timestamp:
Oct 25, 2008, 8:58:40 PM (16 years ago)
Author:
broder
Message:

sipb-xen-database-common -> invirt-database
sipb-xen-database-server -> invirt-database-server

Location:
trunk/packages/invirt-database-server
Files:
2 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database-server/debian/invirt-database-server.postinst

    r1287 r1288  
    11#!/bin/sh
    2 # postinst script for #PACKAGE#
     2# postinst script for invirt-database-server
    33#
    44# see: dh_installdeb(1)
     
    3232        if [ -z "$2" ]; then
    3333            # Don't fail if the user/database already exists
    34             su postgres -c 'createuser sipb-xen -S -d -R'    || true
    35             su postgres -c 'createdb sipb_xen -O sipb-xen'   || true
    36             adduser --system sipb-xen
     34            su postgres -c 'createuser invirt -S -d -R'    || true
     35            su postgres -c 'createdb invirt -O invirt'   || true
     36            adduser --system invirt
    3737        fi
    38         mako-render /etc/postgresql/8.3/main/pg_hba.conf.mako >/etc/postgresql/8.3/main/pg_hba.conf
    3938        /etc/init.d/postgresql-8.3 restart
    40         su sipb-xen -s /bin/sh -c 'sipb-xen-database-tables create'
     39        su invirt -s /bin/sh -c 'invirt-database-tables create'
    4140    ;;
    4241
Note: See TracChangeset for help on using the changeset viewer.