It seems we must stop postgres before changing data directory.

Otherwise we get this error:

	* Restarting PostgreSQL 9.1 database server
	* Error: pid file is invalid, please manually kill the stale server process. [fail]
	The command "sudo /etc/init.d/postgresql restart" failed and exited with 1 during before_script.