Add container dependency in systemd service
This commit is contained in:
parent
111326755b
commit
2ee7378075
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user