After using these scripts, and switching to uwsgi, there was some error 104,
which is TCP connection reset by peer. To reactivate these, edit
debian/rules and uncomment the override_dh_installmenu:, drop these init
scripts in the debian folder, and uncomment the init script things in the
debian/keystone.postinst.in. Also apply this diff to debian/control


diff --git a/debian/control b/debian/control
index b4f7c8b24..b4b55c9e9 100644
--- a/debian/control
+++ b/debian/control
@@ -87,16 +87,16 @@ Package: keystone
 Architecture: all
 Depends:
  adduser,
+ apache2,
  dbconfig-common,
  debconf,
+ libapache2-mod-wsgi-py3,
  python3-keystone (= ${source:Version}),
  python3-keystoneclient,
  python3-openstackclient,
- python3-pastescript,
  q-text-as-data,
  sqlite3,
  ssl-cert,
- uwsgi-plugin-python3,
  ${misc:Depends},
  ${ostack-lsb-base},
  ${python3:Depends},
