/proc need also to be mounted in LXD

This commit is contained in:
Benoit S 2021-09-27 17:37:30 +09:00
parent 35ed770347
commit f9522a6c57

View file

@ -11,7 +11,7 @@ EnvironmentFile={{ host.data.systemd_env }}
WorkingDirectory=/photoprism
RootDirectory={{ host.data.undocker_dst }}
BindPaths={{ host.data.photoprism_storage_src }}:/photoprism/storage {{ host.data.photoprism_originals_src }}:/photoprism/originals {{ host.data.photoprism_import_src }}:/photoprism/import
BindReadOnlyPaths=/etc/resolv.conf
BindReadOnlyPaths=/etc/resolv.conf /proc
ExecStart=/photoprism/bin/photoprism start
Restart=on-failure