postinst is in openstack 1.0.6.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
set -e
if [ ! -f /var/log/openstack.log ]; then
touch /var/log/openstack.log
fi
chown syslog:syslog /var/log/openstack.log
ln -sf /usr/share/openstack/openstack-rsyslog.conf /etc/rsyslog.d/99-openstack.conf
invoke-rc.d rsyslog restart
|