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
This commit is contained in:
egarette@silique.fr 2023-06-29 18:28:16 +02:00
parent 21c86b0e97
commit cc533f69bb
4 changed files with 10 additions and 0 deletions

View file

@ -24,6 +24,12 @@
<file engine="ansible">/etc/sysctl.d/90-risotto.conf</file> <file engine="ansible">/etc/sysctl.d/90-risotto.conf</file>
<file engine="ansible" file_type="variable" source="dhcp.network" variable="interface_names">host_network_filename</file> <file engine="ansible" file_type="variable" source="dhcp.network" variable="interface_names">host_network_filename</file>
</service> </service>
<service name="modprobe@">
<override/>
</service>
<service name="resolvconf-pull-resolved">
<override/>
</service>
<service name="vector" servicelist="vector"> <service name="vector" servicelist="vector">
<file engine="ansible">/etc/vector/vector.toml</file> <file engine="ansible">/etc/vector/vector.toml</file>
</service> </service>

View file

@ -0,0 +1,2 @@
[Unit]
StartLimitIntervalSec=0

View file

@ -0,0 +1,2 @@
[Unit]
StartLimitIntervalSec=0