forked from DGNum/infrastructure
fix(django-apps): Set nofail on mounts
This disables the dependency from local-fs.target to the mounts, which caused a dependency cycle Co-authored-by: Tom Hubrecht <tom.hubrecht@dgnum.eu> Co-committed-by: Tom Hubrecht <tom.hubrecht@dgnum.eu>
This commit is contained in:
parent
f04a1aa6bc
commit
df715ce343
1 changed files with 2 additions and 2 deletions
|
@ -638,7 +638,7 @@ in
|
|||
{
|
||||
where = "/run/django-apps/${name}/static";
|
||||
what = "/var/lib/django-apps/${name}/${staticDirectory}";
|
||||
options = "bind";
|
||||
options = "bind,nofail";
|
||||
|
||||
after = [ "dj-${name}.service" ];
|
||||
partOf = [ "dj-${name}.service" ];
|
||||
|
@ -648,7 +648,7 @@ in
|
|||
{
|
||||
where = "/run/django-apps/${name}/media";
|
||||
what = "/var/lib/django-apps/${name}/${mediaDirectory}";
|
||||
options = "bind";
|
||||
options = "bind,nofail";
|
||||
|
||||
after = [ "dj-${name}.service" ];
|
||||
partOf = [ "dj-${name}.service" ];
|
||||
|
|
Loading…
Add table
Reference in a new issue