From cc533f69bb4111da10b8f9e398e52eac12e3e6d1 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 29 Jun 2023 18:28:16 +0200 Subject: [PATCH] enhancement(host): modprobe@ and resolvconf-pull-resolved services are restarted when a machine is started By default, systemd don't want to (re)start too quickly. This make unecessary errors in log. close #1 --- seed/host-systemd-machined/dictionaries/21_machined.xml | 6 ++++++ seed/host-systemd-machined/templates/modprobe@.service | 2 ++ .../templates/resolvconf-pull-resolved.service | 2 ++ seed/redis/extras/accounts/00_accounts.xml | 0 4 files changed, 10 insertions(+) create mode 100644 seed/host-systemd-machined/templates/modprobe@.service create mode 100644 seed/host-systemd-machined/templates/resolvconf-pull-resolved.service delete mode 100644 seed/redis/extras/accounts/00_accounts.xml diff --git a/seed/host-systemd-machined/dictionaries/21_machined.xml b/seed/host-systemd-machined/dictionaries/21_machined.xml index c2da281..9dc9b9f 100644 --- a/seed/host-systemd-machined/dictionaries/21_machined.xml +++ b/seed/host-systemd-machined/dictionaries/21_machined.xml @@ -24,6 +24,12 @@ /etc/sysctl.d/90-risotto.conf host_network_filename + + + + + + /etc/vector/vector.toml diff --git a/seed/host-systemd-machined/templates/modprobe@.service b/seed/host-systemd-machined/templates/modprobe@.service new file mode 100644 index 0000000..6605e27 --- /dev/null +++ b/seed/host-systemd-machined/templates/modprobe@.service @@ -0,0 +1,2 @@ +[Unit] +StartLimitIntervalSec=0 diff --git a/seed/host-systemd-machined/templates/resolvconf-pull-resolved.service b/seed/host-systemd-machined/templates/resolvconf-pull-resolved.service new file mode 100644 index 0000000..6605e27 --- /dev/null +++ b/seed/host-systemd-machined/templates/resolvconf-pull-resolved.service @@ -0,0 +1,2 @@ +[Unit] +StartLimitIntervalSec=0 diff --git a/seed/redis/extras/accounts/00_accounts.xml b/seed/redis/extras/accounts/00_accounts.xml deleted file mode 100644 index e69de29..0000000