Don't require postgresql.service

This commit is contained in:
Eelco Dolstra 2015-07-02 02:54:16 +02:00
parent dffb629b8a
commit 8ea05cc7f2

View file

@ -203,8 +203,8 @@ in
systemd.services.hydra-init =
{ wantedBy = [ "multi-user.target" ];
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ];
requires = optional haveLocalDB "postgresql.service";
after = optional haveLocalDB "postgresql.service";
environment = env;
preStart = ''
mkdir -p ${baseDir}