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