Commit 6c861631 authored by godog's avatar godog

base: restore unit dependencies are service.systemd_services

At runtime, systemd_services includes docker-* services too.
parent 5d360b33
Pipeline #5716 passed with stages
in 9 minutes and 27 seconds
{% set container_names = service.containers | default([]) | map(attribute='name') | map('regex_replace', '^(.*)$', 'docker-\\1.service') | list %}
{% set required_by = container_names | union(service.systemd_services | default([])) %}
{% set required_by = service.systemd_services | default([]) %}
[Unit]
Description=Restore dataset {{ dataset_name }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment