diff --git a/upstart-jobs/postgresql.nix b/upstart-jobs/postgresql.nix index 9b74c76befc..48076ae0fe3 100644 --- a/upstart-jobs/postgresql.nix +++ b/upstart-jobs/postgresql.nix @@ -23,7 +23,7 @@ in description \"PostgreSQL server\" start on ${startDependency}/started -stop on ${startDependency}/stop +stop on shutdown respawn ${postgresqlService}/bin/control start ";