bundles/docker-immich: only start auto-album-share when postgresql is actually running

This commit is contained in:
Franzi 2025-03-30 08:59:41 +02:00
parent 3bcf7ad714
commit 7b51bb57f8
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 8 additions and 2 deletions

View file

@ -7,8 +7,11 @@
[Unit]
Description=Service for Timer ${timer}
After=network.target
% if config.get('requires', ''):
Requires=${config['requires']}
% if config.get('requires', set()):
Requires=${' '.join(sorted(config['requires']))}
% endif
% if config.get('requisite', set()):
Requisite=${' '.join(sorted(config['requisite']))}
% endif
[Service]