Specify dependency of containers
This commit is contained in:
parent
2e1ca1d1b6
commit
2fd17c1319
@ -76,6 +76,7 @@
|
||||
generate_systemd:
|
||||
path: /home/containers/.config/systemd/user/
|
||||
restart_policy: on-failure
|
||||
requires: [container-nextcloud.service, container-traefik.service]
|
||||
names: true
|
||||
new: true
|
||||
|
||||
|
@ -85,6 +85,7 @@
|
||||
generate_systemd:
|
||||
path: /home/containers/.config/systemd/user/
|
||||
restart_policy: on-failure
|
||||
requires: [container-traefik.service]
|
||||
names: true
|
||||
new: true
|
||||
|
||||
|
@ -160,7 +160,7 @@
|
||||
generate_systemd:
|
||||
path: /home/containers/.config/systemd/user/
|
||||
restart_policy: on-failure
|
||||
requires: [container-db_gitea.service]
|
||||
requires: [container-db_gitea.service, container-traefik.service]
|
||||
names: true
|
||||
new: true
|
||||
|
||||
|
@ -78,6 +78,7 @@
|
||||
generate_systemd:
|
||||
path: /home/containers/.config/systemd/user/
|
||||
restart_policy: on-failure
|
||||
requires: [container-traefik.service]
|
||||
names: true
|
||||
new: true
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
Description=Nextcloud cron.php job
|
||||
Wants=nextcloudcron.timer
|
||||
Requires=container-nextcloud.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/podman exec -u www-data nextcloud php -f /var/www/html/cron.php
|
||||
|
@ -194,7 +194,7 @@
|
||||
generate_systemd:
|
||||
path: /home/containers/.config/systemd/user/
|
||||
restart_policy: on-failure
|
||||
requires: [container-db_nextcloud.service, container-redis_nextcloud.service]
|
||||
requires: [container-db_nextcloud.service, container-redis_nextcloud.service, container-traefik.service]
|
||||
names: true
|
||||
new: true
|
||||
|
||||
|
@ -70,6 +70,7 @@
|
||||
generate_systemd:
|
||||
path: /home/containers/.config/systemd/user/
|
||||
restart_policy: on-failure
|
||||
requires: [container-traefik.service]
|
||||
names: true
|
||||
new: true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user