coreos-home-server/config/common/systemd/container-build@.service
Alex Palaistras 3254ead3a7 Simplify systemd services, use volumes
This commit represents a large amount of work toward moving services to
a more standard approach to storing data, and a simplification in how
networks are managed.
2021-06-27 18:36:06 +01:00

14 lines
546 B
Desktop File

[Unit]
Description=Container build for %I
Wants=network-online.target container-environment@%i.service container-network@internal.service container-build@%i.path
After=network-online.target container-environment@%i.service container-network@internal.service
ConditionPathExists=/etc/container-service/%i/Containerfile
[Service]
Type=oneshot
Environment=PODMAN_BUILD_OPTIONS=
ExecStart=/bin/podman build $PODMAN_BUILD_OPTIONS --file /etc/container-service/%i/Containerfile --tag %i /etc/container-service/%i
[Install]
WantedBy=multi-user.target