forked from lix-project/hydra
Don't require postgresql.service
This commit is contained in:
parent
dffb629b8a
commit
8ea05cc7f2
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue