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 = systemd.services.hydra-init =
{ wantedBy = [ "multi-user.target" ]; { wantedBy = [ "multi-user.target" ];
requires = [ "postgresql.service" ]; requires = optional haveLocalDB "postgresql.service";
after = [ "postgresql.service" ]; after = optional haveLocalDB "postgresql.service";
environment = env; environment = env;
preStart = '' preStart = ''
mkdir -p ${baseDir} mkdir -p ${baseDir}