bundles/docker-immich: only start auto-album-share when postgresql is actually running
This commit is contained in:
parent
3bcf7ad714
commit
7b51bb57f8
2 changed files with 8 additions and 2 deletions
|
@ -83,6 +83,9 @@ def auto_album_share(metadata):
|
|||
'command': '/usr/local/bin/immich-auto-album-share.py',
|
||||
'environment': metadata.get('docker-engine/containers/immich/environment'),
|
||||
'when': 'minutely',
|
||||
'requisite': {
|
||||
'docker-immich-postgresql.service',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue