summarylogtreecommitdiffstats
path: root/kong-community-edition.install
blob: d88c5545de729f8c07abc615cffc8b80dce97208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
	echo 'export PATH=/opt/openresty/bin:$PATH' >> ~/.bashrc 
	echo 'export PATH=/uopt/openresty/bin:/opt/openresty/nginx/sbin:$PATH' >> ~/.bashrc 
	source ~/.bashrc
	luarocks install kong 1.1.0-0
	mkdir -p /etc/kong
	mv /usr/lib/luarocks/rocks/kong/1.1.0-0/kong.conf.default /etc/kong/kong.conf.default
}

post_upgrade() {
	post_install
}