postinst is in rabbitmq-erlang-client 2.7.1-0ubuntu4.
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 | #!/bin/sh -e
/usr/lib/rabbitmq/bin/rabbitmq-plugins enable amqp_client
invoke-rc.d rabbitmq-server restart
|