Ignore:
Timestamp:
Aug 16, 2007, 4:45:48 PM (17 years ago)
Author:
nelhage
Message:

A new version with less broken init scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/sipb-xen-database/debian/sipb-xen-database-server.prerm

    r77 r81  
    2424        # su postgres -c 'dropdb sipb_xen'
    2525        # su postgres -c 'dropuser sipb-xen'
    26         PG_HBA=/etc/postgresql/8.1/main/pg_hba.conf
    27         perl -ni -e 'print unless /^# ===BEGIN ADDED BY sipb-xen-dabase server$/ ..
    28                                   /^# ===END ADDED BY sipb-xen-dabase server$/' \
    29                                   "$PG_HBA"
    30 
    31         if hash invoke-rc.d; then
    32             invoke-rc.d postgresql-8.1 restart
    33         else
    34             /etc/init.d/postgresql-8.1 restart
    35         fi
     26        deluser sipb-xen
    3627    ;;
    3728
Note: See TracChangeset for help on using the changeset viewer.