Fix ordering of starting Apache and PostgreSQL

Fixing ordering of starting Apache and PostgreSQL for Debian.
(cherry picked from commit 654fc8fb230614a10b22d968458c000e25c0d723)
Merge pull request #31 from pasinskim/3.6.x

Fix ordering of starting Apache and PostgreSQL