summarylogtreecommitdiffstats
path: root/consul.install
blob: 149ee47de780b3ae945b3b6bb0b2fe627579d3f1 (plain)
1
2
3
4
5
6
7
8
9
post_upgrade() {
	# improved permissions since 0.9.3-1
	if  [ "$(vercmp "$2" "0.9.3")" -lt 0 ]; then
		chown 0:208 /etc/consul.d
		chmod 0750 /etc/consul.d
		echo -en "----\nThe directory permissions for /etc/consul.d/ have been fixed.\n----\n"
	fi
	true
}