spiegel_podman/pkg/systemd
Alexander Larsson 0cf36684c6 quadlet: Handle booleans that have defaults better
The ReadOnly and the RunInit keys affect options that have a variable
default (configurable in containers.conf). This means we need to
handle them a bit differently in quadlet to allow overriding the
default. For example, we can't assume ReadOnly=false doesn't need to
add any argument because no argument may mean readonly=true if the default
is changed.

We now don't add any argument (leaving the default) if the key is not specified,
or we always add an argument (--foo or --foo=false) if the key is specified (overriding whatever the default is).

Signed-off-by: Alexander Larsson <alexl@redhat.com>
2022-12-20 11:00:48 +01:00
..
define generate systemd: handle --restart 2021-09-07 13:58:11 +02:00
generate Fix language. Mostly spelling a -> an 2022-11-20 19:41:06 +01:00
notifyproxy kube sdnotify: run proxies for the lifespan of the service 2022-12-06 14:15:11 +01:00
parser quadlet: Rename parser.LookupBoolean to LookupBooleanWithDefault 2022-12-20 10:38:49 +01:00
quadlet quadlet: Handle booleans that have defaults better 2022-12-20 11:00:48 +01:00
activation.go pkg/systemd: don't require LISTEN_FDNAMES for socket activation 2021-06-24 09:01:39 -06:00
activation_test.go pkg/systemd: don't require LISTEN_FDNAMES for socket activation 2021-06-24 09:01:39 -06:00
dbus.go Eval symlinks on XDG_RUNTIME_DIR 2022-10-28 14:32:39 -04:00