File: magnum-api.postinst.in

package info (click to toggle)
magnum 2.0.0-5~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 5,572 kB
  • sloc: python: 42,786; sh: 1,915; makefile: 50
file content (17 lines) | stat: -rw-r--r-- 297 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

#PKGOS-INCLUDE#

if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
	. /usr/share/debconf/confmodule
	. /usr/share/dbconfig-common/dpkg/postinst

	pkgos_register_endpoint_postinst magnum magnum container "Container Service" 9511 "/v1"
	db_stop
fi

#DEBHELPER#

exit 0