- Timestamp:
- Aug 24, 2008, 8:59:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/debian/sipb-xen-database-server.postinst
r295 r918 18 18 # the debian-policy package 19 19 20 # dh_installdeb will replace this with shell code automatically 21 # generated by other debhelper scripts. 22 # Note that by moving this above our generated code we could run into significant problems 23 # if we happened to start a daemon, and use debconf 24 # We move this up here because we need the diversion of postgresql.conf to happen before we create tables 25 26 #DEBHELPER# 27 20 28 21 29 case "$1" in … … 28 36 adduser --system sipb-xen 29 37 fi 38 mako-render /etc/postgresql/8.1/main/pg_hba.conf.mako >/etc/postgresql/8.1/main/pg_hba.conf 39 /etc/init.d/postgresql-8.1 restart 30 40 su sipb-xen -s /bin/sh -c 'sipb-xen-database-tables create' 31 41 ;; … … 40 50 esac 41 51 42 # dh_installdeb will replace this with shell code automatically43 # generated by other debhelper scripts.44 45 #DEBHELPER#46 47 52 exit 0 48 53
Note: See TracChangeset
for help on using the changeset viewer.