mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
3254ead3a7
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.
14 lines
546 B
Desktop File
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
|