Restart PostgreSQL service if configuration has changed.

Ensures that access control for webworkers is active when that role attempts syncdb