Add container dependency in systemd service

This commit is contained in:
Francesco Antognazza 2023-04-17 14:44:23 +02:00
parent 111326755b
commit 2ee7378075
2 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,7 @@
generate_systemd: generate_systemd:
path: /home/containers/.config/systemd/user/ path: /home/containers/.config/systemd/user/
restart_policy: on-failure restart_policy: on-failure
requires: [container-db_gitea]
time: 3600 time: 3600
names: true names: true
new: true new: true

View File

@ -195,6 +195,7 @@
generate_systemd: generate_systemd:
path: /home/containers/.config/systemd/user/ path: /home/containers/.config/systemd/user/
restart_policy: on-failure restart_policy: on-failure
requires: [container-db_nextcloud, container-redis_nextcloud]
time: 3600 time: 3600
names: true names: true
new: true new: true